Package org.jclouds.cloudstack.domain
Class TemplateMetadata
- java.lang.Object
-
- org.jclouds.cloudstack.domain.TemplateMetadata
-
public class TemplateMetadata extends Object
Class TemplateMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemplateMetadata.Builder<T extends TemplateMetadata.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateMetadata.Builder<?>
builder()
boolean
equals(Object obj)
String
getDisplayText()
String
getName()
String
getOsTypeId()
String
getSnapshotId()
String
getVirtualMachineId()
String
getVolumeId()
int
hashCode()
Boolean
isPasswordEnabled()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
TemplateMetadata.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
TemplateMetadata
@ConstructorProperties({"name","osTypeId","displayText","snapshotId","volumeId","virtualMachineId","passwordEnabled"}) protected TemplateMetadata(String name, @Nullable String osTypeId, @Nullable String displayText, @Nullable String snapshotId, @Nullable String volumeId, String virtualMachineId, Boolean passwordEnabled)
-
-
Method Detail
-
builder
public static TemplateMetadata.Builder<?> builder()
-
toBuilder
public TemplateMetadata.Builder<?> toBuilder()
-
getName
public String getName()
- Returns:
- the name of the template
-
getOsTypeId
@Nullable public String getOsTypeId()
- Returns:
- the ID of the OS Type that best represents the OS of this template.
-
getDisplayText
@Nullable public String getDisplayText()
- Returns:
- the display text of the template. This is usually used for display purposes.
-
getSnapshotId
@Nullable public String getSnapshotId()
- Returns:
- the ID of the snapshot the template is being created from
-
getVolumeId
@Nullable public String getVolumeId()
- Returns:
- the ID of the disk volume the template is being created from
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-