Class TemplateObject.Builder
- java.lang.Object
-
- org.jclouds.softlayer.domain.internal.TemplateObject.Builder
-
- Enclosing class:
- TemplateObject
public static class TemplateObject.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
hostname
protected String hostname
-
domain
protected String domain
-
startCpus
protected int startCpus
-
maxMemory
protected int maxMemory
-
hourlyBillingFlag
protected boolean hourlyBillingFlag
-
localDiskFlag
protected boolean localDiskFlag
-
dedicatedAccountHostOnlyFlag
protected boolean dedicatedAccountHostOnlyFlag
-
privateNetworkOnlyFlag
protected boolean privateNetworkOnlyFlag
-
operatingSystemReferenceCode
protected String operatingSystemReferenceCode
-
blockDeviceTemplateGroup
protected BlockDeviceTemplateGroup blockDeviceTemplateGroup
-
datacenter
protected Datacenter datacenter
-
networkComponents
protected Set<NetworkComponent> networkComponents
-
blockDevices
protected List<BlockDevice> blockDevices
-
postInstallScriptUri
protected String postInstallScriptUri
-
primaryNetworkComponent
protected PrimaryNetworkComponent primaryNetworkComponent
-
primaryBackendNetworkComponent
protected PrimaryBackendNetworkComponent primaryBackendNetworkComponent
-
-
Method Detail
-
hostname
public TemplateObject.Builder hostname(String hostname)
-
domain
public TemplateObject.Builder domain(String domain)
-
startCpus
public TemplateObject.Builder startCpus(int startCpus)
-
maxMemory
public TemplateObject.Builder maxMemory(int maxMemory)
-
hourlyBillingFlag
public TemplateObject.Builder hourlyBillingFlag(boolean hourlyBillingFlag)
-
localDiskFlag
public TemplateObject.Builder localDiskFlag(boolean localDiskFlag)
-
dedicatedAccountHostOnlyFlag
public TemplateObject.Builder dedicatedAccountHostOnlyFlag(boolean dedicatedAccountHostOnlyFlag)
-
privateNetworkOnlyFlag
public TemplateObject.Builder privateNetworkOnlyFlag(boolean privateNetworkOnlyFlag)
-
operatingSystemReferenceCode
public TemplateObject.Builder operatingSystemReferenceCode(String operatingSystemReferenceCode)
-
blockDeviceTemplateGroup
public TemplateObject.Builder blockDeviceTemplateGroup(BlockDeviceTemplateGroup blockDeviceTemplateGroup)
-
datacenter
public TemplateObject.Builder datacenter(Datacenter datacenter)
-
networkComponents
public TemplateObject.Builder networkComponents(Set<NetworkComponent> networkComponents)
-
blockDevices
public TemplateObject.Builder blockDevices(List<BlockDevice> blockDevices)
-
postInstallScriptUri
public TemplateObject.Builder postInstallScriptUri(String postInstallScriptUri)
-
primaryNetworkComponent
public TemplateObject.Builder primaryNetworkComponent(PrimaryNetworkComponent primaryNetworkComponent)
-
primaryBackendNetworkComponent
public TemplateObject.Builder primaryBackendNetworkComponent(PrimaryBackendNetworkComponent primaryBackendNetworkComponent)
-
userData
public TemplateObject.Builder userData(Set<Map<String,String>> userData)
-
sshKeys
public TemplateObject.Builder sshKeys(Set<Map<String,Integer>> sshKeys)
-
build
public TemplateObject build()
-
fromTemplateObject
public TemplateObject.Builder fromTemplateObject(TemplateObject in)
-
-