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
|
Constructor Summary |
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)
|
ServerImage
@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)
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()
getArchitecture
@Nullable
public Option getArchitecture()
getType
public ServerImageType getType()
getState
public ServerImageState getState()
getPrice
public double getPrice()
getLocation
public String getLocation()
isActive
public boolean isActive()
isPublic
public boolean isPublic()
getCreatedTime
@Nullable
public Date getCreatedTime()
getUpdatedTime
@Nullable
public Date getUpdatedTime()
getBillingTokens
public Set<BillingToken> getBillingTokens()
getOwner
public Customer getOwner()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(ServerImage that)
- Specified by:
compareTo in interface Comparable<ServerImage>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.