public class ServiceOffering extends Object implements Comparable<ServiceOffering>
Modifier and Type | Class and Description |
---|---|
static class |
ServiceOffering.Builder<T extends ServiceOffering.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ServiceOffering(String id,
String name,
String displayText,
Date created,
String domain,
String domainId,
int cpuNumber,
int cpuSpeed,
int memory,
boolean haSupport,
StorageType storageType,
String tags,
boolean defaultUse,
String hostTags,
boolean systemOffering,
boolean cpuUseLimited,
long networkRate,
boolean systemVmType) |
Modifier and Type | Method and Description |
---|---|
static ServiceOffering.Builder<?> |
builder() |
int |
compareTo(ServiceOffering o) |
boolean |
equals(Object obj) |
int |
getCpuNumber() |
int |
getCpuSpeed() |
Date |
getCreated() |
String |
getDisplayText() |
String |
getDomain() |
String |
getDomainId() |
String |
getHostTags() |
String |
getId() |
int |
getMemory() |
String |
getName() |
long |
getNetworkRate() |
StorageType |
getStorageType() |
Set<String> |
getTags() |
int |
hashCode() |
boolean |
isCpuUseLimited() |
boolean |
isDefaultUse() |
boolean |
isSystemOffering() |
boolean |
isSystemVmType() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
boolean |
supportsHA() |
ServiceOffering.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","displaytext","created","domain","domainid","cpunumber","cpuspeed","memory","offerha","storagetype","tags","defaultuse","hosttags","issystem","limitcpuuse","networkrate","systemvmtype"}) protected ServiceOffering(String id, @Nullable String name, @Nullable String displayText, @Nullable Date created, @Nullable String domain, @Nullable String domainId, int cpuNumber, int cpuSpeed, int memory, boolean haSupport, @Nullable StorageType storageType, @Nullable String tags, boolean defaultUse, @Nullable String hostTags, boolean systemOffering, boolean cpuUseLimited, long networkRate, boolean systemVmType)
public static ServiceOffering.Builder<?> builder()
public ServiceOffering.Builder<?> toBuilder()
public String getId()
public String getName()
@Nullable public String getDisplayText()
public int getCpuNumber()
public int getCpuSpeed()
public int getMemory()
public boolean supportsHA()
@Nullable public StorageType getStorageType()
public boolean isDefaultUse()
public boolean isSystemOffering()
public boolean isCpuUseLimited()
public long getNetworkRate()
public boolean isSystemVmType()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(ServiceOffering o)
compareTo
in interface Comparable<ServiceOffering>
Copyright © 2009-2012 jclouds. All Rights Reserved.