org.jclouds.vcloud.director.v1_5.domain.query
Class QueryResultVMRecord

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.query.QueryResultRecordType
      extended by org.jclouds.vcloud.director.v1_5.domain.query.QueryResultVMRecord

public class QueryResultVMRecord
extends QueryResultRecordType

Represents the results from a VM vCloud query as a record.

 <complexType name="QueryResultVMRecordType" />
 

Author:
Aled Sage

Nested Class Summary
static class QueryResultVMRecord.Builder<B extends QueryResultVMRecord.Builder<B>>
           
 
Constructor Summary
protected QueryResultVMRecord()
           
protected QueryResultVMRecord(QueryResultVMRecord.Builder<?> builder)
           
 
Method Summary
static QueryResultVMRecord.Builder<?> builder()
           
 boolean equals(Object o)
           
 String getContainer()
          Vapp or Vapp template
 String getContainerName()
          Vapp name or Vapp template name
 String getGuestOs()
          Guest operating system
 Integer getHardwareVersion()
          Hardware version
 Integer getMemoryMB()
          Memory in MB
 String getName()
          name
 Integer getNumberOfCpus()
          Number of CPUs
 String getStatus()
          Status
 String getVdc()
          vDC reference or id
 int hashCode()
           
 Boolean isBusy()
          Shows whether it is busy
 Boolean isCatalogName()
          Catalog name
 Boolean isDeleted()
          Shows whether it is deleted
 Boolean isDeployed()
          Shows whether it is deployed
 Boolean isInMaintenanceMode()
          Shows whether it is in maintenance mode
 Boolean isPublished()
          Shows whether it is in published catalog
 Boolean isVAppTemplate()
          Shows whether the VM belongs to VApp or VAppTemplate
 com.google.common.base.Objects.ToStringHelper string()
           
 QueryResultVMRecord.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.query.QueryResultRecordType
getHref, getId, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryResultVMRecord

protected QueryResultVMRecord(QueryResultVMRecord.Builder<?> builder)

QueryResultVMRecord

protected QueryResultVMRecord()
Method Detail

builder

public static QueryResultVMRecord.Builder<?> builder()

toBuilder

public QueryResultVMRecord.Builder<?> toBuilder()
Overrides:
toBuilder in class QueryResultRecordType

getName

public String getName()
name


getContainerName

public String getContainerName()
Vapp name or Vapp template name


getContainer

public String getContainer()
Vapp or Vapp template


getVdc

public String getVdc()
vDC reference or id


isVAppTemplate

public Boolean isVAppTemplate()
Shows whether the VM belongs to VApp or VAppTemplate


isDeleted

public Boolean isDeleted()
Shows whether it is deleted


getGuestOs

public String getGuestOs()
Guest operating system


getNumberOfCpus

public Integer getNumberOfCpus()
Number of CPUs


getMemoryMB

public Integer getMemoryMB()
Memory in MB


getStatus

public String getStatus()
Status


isBusy

public Boolean isBusy()
Shows whether it is busy


isDeployed

public Boolean isDeployed()
Shows whether it is deployed


isPublished

public Boolean isPublished()
Shows whether it is in published catalog


isCatalogName

public Boolean isCatalogName()
Catalog name


getHardwareVersion

public Integer getHardwareVersion()
Hardware version


isInMaintenanceMode

public Boolean isInMaintenanceMode()
Shows whether it is in maintenance mode


equals

public boolean equals(Object o)
Overrides:
equals in class QueryResultRecordType

hashCode

public int hashCode()
Overrides:
hashCode in class QueryResultRecordType

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class QueryResultRecordType


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.