org.jclouds.smartos.compute.domain
Class VmSpecification

java.lang.Object
  extended by org.jclouds.smartos.compute.domain.VmSpecification

public class VmSpecification
extends Object

Specification of a VM to build, based on a dataset.


Nested Class Summary
static class VmSpecification.Builder
           
 
Constructor Summary
protected VmSpecification(String alias, String brand, DataSet dataset, String dnsDomain, String quota, int maxPhysicalMemory, int maxLockedMemory, int maxSwap, int tmpFs, List<VmNIC> nics)
           
 
Method Summary
static VmSpecification.Builder builder()
           
 boolean equals(Object obj)
           
 String getAlias()
           
 String getBrand()
           
 DataSet getDataset()
           
 String getDnsDomain()
           
 int getMaxLockedMemory()
           
 int getMaxPhysicalMemory()
           
 int getMaxSwap()
           
 List<VmNIC> getNics()
           
 String getQuota()
           
 int getTmpFs()
           
 int hashCode()
           
 VmSpecification.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmSpecification

@ConstructorProperties(value={"alias","brand","dataset_uuid","dns_domain","quota","max_physical_memory","max_locked_memory","max_swap","tmpfs","nics"})
protected VmSpecification(String alias,
                                                     String brand,
                                                     DataSet dataset,
                                                     String dnsDomain,
                                                     String quota,
                                                     int maxPhysicalMemory,
                                                     int maxLockedMemory,
                                                     int maxSwap,
                                                     int tmpFs,
                                                     List<VmNIC> nics)
Method Detail

builder

public static VmSpecification.Builder builder()

toBuilder

public VmSpecification.Builder toBuilder()

getAlias

public String getAlias()

getBrand

public String getBrand()

getDataset

public DataSet getDataset()

getDnsDomain

public String getDnsDomain()

getQuota

public String getQuota()

getMaxPhysicalMemory

public int getMaxPhysicalMemory()

getMaxLockedMemory

public int getMaxLockedMemory()

getMaxSwap

public int getMaxSwap()

getTmpFs

public int getTmpFs()

getNics

public List<VmNIC> getNics()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.