org.jclouds.cloudstack.domain
Class TemplateMetadata
java.lang.Object
org.jclouds.cloudstack.domain.TemplateMetadata
public class TemplateMetadata
- extends Object
Class TemplateMetadata
- Author:
- Richard Downer
TemplateMetadata
@ConstructorProperties(value={"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)
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
getVirtualMachineId
@Nullable
public String getVirtualMachineId()
- Returns:
- Optional, VM ID
isPasswordEnabled
@Nullable
public Boolean isPasswordEnabled()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.