org.jclouds.cloudstack.domain
Class TemplateMetadata

java.lang.Object
  extended by org.jclouds.cloudstack.domain.TemplateMetadata

public class TemplateMetadata
extends Object

Class TemplateMetadata

Author:
Richard Downer

Nested Class Summary
static class TemplateMetadata.Builder<T extends TemplateMetadata.Builder<T>>
           
 
Constructor Summary
protected TemplateMetadata(String name, String osTypeId, String displayText, String snapshotId, String volumeId, String virtualMachineId, Boolean passwordEnabled)
           
 
Method Summary
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.Objects.ToStringHelper string()
           
 TemplateMetadata.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
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

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-2013 jclouds. All Rights Reserved.