Package org.jclouds.gogrid.domain
Class ServerImage
- java.lang.Object
-
- org.jclouds.gogrid.domain.ServerImage
-
- All Implemented Interfaces:
Comparable<ServerImage>
public class ServerImage extends Object implements Comparable<ServerImage>
Class ServerImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerImage.Builder<T extends ServerImage.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.MoreObjects.ToStringHelper
string()
ServerImage.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
ServerImage
@ConstructorProperties({"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)
-
-
Method Detail
-
builder
public static ServerImage.Builder<?> builder()
-
toBuilder
public ServerImage.Builder<?> toBuilder()
-
getId
public long getId()
-
getName
public String getName()
-
getFriendlyName
public String getFriendlyName()
-
getDescription
public String getDescription()
-
getOs
public Option getOs()
-
getType
public ServerImageType getType()
-
getState
public ServerImageState getState()
-
getPrice
public double getPrice()
-
getLocation
public String getLocation()
-
isActive
public boolean isActive()
-
isPublic
public boolean isPublic()
-
getBillingTokens
public Set<BillingToken> getBillingTokens()
-
getOwner
public Customer getOwner()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(ServerImage that)
- Specified by:
compareTo
in interfaceComparable<ServerImage>
-
-