|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.joyent.cloudapi.v6_5.domain.Dataset
public class Dataset
A dataset is the image of the software on your machine. It contains the software packages that will be available on newly provisioned machines. In the case of virtual machines, the dataset also includes the operating system.
| Nested Class Summary | |
|---|---|
static class |
Dataset.Builder
|
| Constructor Summary | |
|---|---|
Dataset(String id,
String urn,
String name,
String os,
Machine.Type type,
String description,
boolean isDefault,
Map<String,org.jclouds.domain.JsonBall> requirements,
String version,
Date created)
|
|
| Method Summary | |
|---|---|
static Dataset.Builder |
builder()
|
int |
compareTo(Dataset that)
|
boolean |
equals(Object object)
|
Date |
getCreated()
When the dataset was created |
String |
getDescription()
The description of this dataset |
String |
getId()
The globally unique id for this dataset |
String |
getName()
The friendly name for this dataset |
String |
getOs()
The underlying operating system for this dataset |
Map<String,String> |
getRequirements()
Contains a grouping of various minimum requirements for provisioning a machine with this dataset. |
Map<String,String> |
getRequirementsAsJsonLiterals()
If the value is a string, it will be quoted, as that's how json strings are represented. |
Machine.Type |
getType()
Whether this is a smartmachine or virtualmachine dataset |
String |
getUrn()
The full URN for this dataset |
String |
getVersion()
The version for this dataset |
int |
hashCode()
|
boolean |
isDefault()
Whether this is the default dataset in this datacenter |
Dataset.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@ConstructorProperties(value={"id","urn","name","os","type","description","default","requirements","version","created"})
public Dataset(String id,
String urn,
String name,
String os,
Machine.Type type,
String description,
boolean isDefault,
Map<String,org.jclouds.domain.JsonBall> requirements,
String version,
Date created)
| Method Detail |
|---|
public static Dataset.Builder builder()
public Dataset.Builder toBuilder()
public String getId()
public String getUrn()
public String getName()
public String getOs()
public Machine.Type getType()
public String getDescription()
public boolean isDefault()
public Map<String,String> getRequirementsAsJsonLiterals()
getRequirements(),
Json.fromJson(java.lang.String, java.lang.reflect.Type)public Map<String,String> getRequirements()
getRequirementsAsJsonLiterals()
public String getVersion()
public Date getCreated()
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic int compareTo(Dataset that)
compareTo in interface Comparable<Dataset>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||