public class ServerImage extends Object implements Comparable<ServerImage>
Modifier and Type | Class and Description |
---|---|
static class |
ServerImage.Builder<T extends ServerImage.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ServerImage(long id,
String name,
String friendlyName,
String description,
Option os,
Option architecture,
ServerImageType type,
ServerImageState state,
double price,
String location,
boolean isActive,
boolean isPublic,
Date createdTime,
Date updatedTime,
Set<BillingToken> billingTokens,
Customer owner) |
Modifier and Type | Method and Description |
---|---|
static ServerImage.Builder<?> |
builder() |
int |
compareTo(ServerImage that) |
boolean |
equals(Object obj) |
Option |
getArchitecture() |
Set<BillingToken> |
getBillingTokens() |
Date |
getCreatedTime() |
String |
getDescription() |
String |
getFriendlyName() |
long |
getId() |
String |
getLocation() |
String |
getName() |
Option |
getOs() |
Customer |
getOwner() |
double |
getPrice() |
ServerImageState |
getState() |
ServerImageType |
getType() |
Date |
getUpdatedTime() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isPublic() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ServerImage.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","friendlyName","description","os","architecture","type","state","price","location","isActive","isPublic","createdTime","updatedTime","billingtokens","owner"}) protected ServerImage(long id, String name, String friendlyName, @Nullable String description, Option os, @Nullable Option architecture, ServerImageType type, ServerImageState state, double price, String location, boolean isActive, boolean isPublic, @Nullable Date createdTime, @Nullable Date updatedTime, Set<BillingToken> billingTokens, Customer owner)
public static ServerImage.Builder<?> builder()
public ServerImage.Builder<?> toBuilder()
public long getId()
public String getName()
public String getFriendlyName()
public String getDescription()
public Option getOs()
public ServerImageType getType()
public ServerImageState getState()
public double getPrice()
public String getLocation()
public boolean isActive()
public boolean isPublic()
public Set<BillingToken> getBillingTokens()
public Customer getOwner()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(ServerImage that)
compareTo
in interface Comparable<ServerImage>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.