public static class TemplateObject.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected List<BlockDevice> |
blockDevices |
protected BlockDeviceTemplateGroup |
blockDeviceTemplateGroup |
protected Datacenter |
datacenter |
protected boolean |
dedicatedAccountHostOnlyFlag |
protected String |
domain |
protected String |
hostname |
protected boolean |
hourlyBillingFlag |
protected boolean |
localDiskFlag |
protected int |
maxMemory |
protected Set<NetworkComponent> |
networkComponents |
protected String |
operatingSystemReferenceCode |
protected String |
postInstallScriptUri |
protected PrimaryBackendNetworkComponent |
primaryBackendNetworkComponent |
protected PrimaryNetworkComponent |
primaryNetworkComponent |
protected boolean |
privateNetworkOnlyFlag |
protected Set<Map<String,Integer>> |
sshKeys |
protected int |
startCpus |
protected Set<Map<String,String>> |
userData |
Constructor and Description |
---|
TemplateObject.Builder() |
protected String hostname
protected String domain
protected int startCpus
protected int maxMemory
protected boolean hourlyBillingFlag
protected boolean localDiskFlag
protected boolean dedicatedAccountHostOnlyFlag
protected boolean privateNetworkOnlyFlag
protected String operatingSystemReferenceCode
protected BlockDeviceTemplateGroup blockDeviceTemplateGroup
protected Datacenter datacenter
protected Set<NetworkComponent> networkComponents
protected List<BlockDevice> blockDevices
protected String postInstallScriptUri
protected PrimaryNetworkComponent primaryNetworkComponent
protected PrimaryBackendNetworkComponent primaryBackendNetworkComponent
public TemplateObject.Builder hostname(String hostname)
public TemplateObject.Builder domain(String domain)
public TemplateObject.Builder startCpus(int startCpus)
public TemplateObject.Builder maxMemory(int maxMemory)
public TemplateObject.Builder hourlyBillingFlag(boolean hourlyBillingFlag)
public TemplateObject.Builder localDiskFlag(boolean localDiskFlag)
public TemplateObject.Builder dedicatedAccountHostOnlyFlag(boolean dedicatedAccountHostOnlyFlag)
public TemplateObject.Builder privateNetworkOnlyFlag(boolean privateNetworkOnlyFlag)
public TemplateObject.Builder operatingSystemReferenceCode(String operatingSystemReferenceCode)
public TemplateObject.Builder blockDeviceTemplateGroup(BlockDeviceTemplateGroup blockDeviceTemplateGroup)
public TemplateObject.Builder datacenter(Datacenter datacenter)
public TemplateObject.Builder networkComponents(Set<NetworkComponent> networkComponents)
public TemplateObject.Builder blockDevices(List<BlockDevice> blockDevices)
public TemplateObject.Builder postInstallScriptUri(String postInstallScriptUri)
public TemplateObject.Builder primaryNetworkComponent(PrimaryNetworkComponent primaryNetworkComponent)
public TemplateObject.Builder primaryBackendNetworkComponent(PrimaryBackendNetworkComponent primaryBackendNetworkComponent)
public TemplateObject.Builder userData(Set<Map<String,String>> userData)
public TemplateObject.Builder sshKeys(Set<Map<String,Integer>> sshKeys)
public TemplateObject build()
public TemplateObject.Builder fromTemplateObject(TemplateObject in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.