Package org.jclouds.cloudstack.domain
Class TemplateMetadata.Builder<T extends TemplateMetadata.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.TemplateMetadata.Builder<T>
-
- Enclosing class:
- TemplateMetadata
public abstract static class TemplateMetadata.Builder<T extends TemplateMetadata.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
displayText
protected String
name
protected String
osTypeId
protected Boolean
passwordEnabled
protected String
snapshotId
protected String
virtualMachineId
protected String
volumeId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TemplateMetadata
build()
T
displayText(String displayText)
T
fromTemplateMetadata(TemplateMetadata in)
T
name(String name)
T
osTypeId(String osTypeId)
T
passwordEnabled(Boolean passwordEnabled)
protected abstract T
self()
T
snapshotId(String snapshotId)
T
virtualMachineId(String virtualMachineId)
T
volumeId(String volumeId)
-
-
-
Method Detail
-
self
protected abstract T self()
-
name
public T name(String name)
- See Also:
TemplateMetadata.getName()
-
osTypeId
public T osTypeId(String osTypeId)
- See Also:
TemplateMetadata.getOsTypeId()
-
displayText
public T displayText(String displayText)
- See Also:
TemplateMetadata.getDisplayText()
-
snapshotId
public T snapshotId(String snapshotId)
- See Also:
TemplateMetadata.getSnapshotId()
-
volumeId
public T volumeId(String volumeId)
- See Also:
TemplateMetadata.getVolumeId()
-
virtualMachineId
public T virtualMachineId(String virtualMachineId)
- See Also:
TemplateMetadata.getVirtualMachineId()
-
passwordEnabled
public T passwordEnabled(Boolean passwordEnabled)
- See Also:
TemplateMetadata.isPasswordEnabled()
-
build
public TemplateMetadata build()
-
fromTemplateMetadata
public T fromTemplateMetadata(TemplateMetadata in)
-
-