public class Dataset extends Object implements Comparable<Dataset>
Modifier and Type | Class and Description |
---|---|
static class |
Dataset.Builder |
Constructor and Description |
---|
Dataset(String id,
String urn,
String name,
String os,
Machine.Type type,
String description,
boolean isDefault,
Map<String,JsonBall> requirements,
String version,
Date created) |
Modifier and Type | Method and Description |
---|---|
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() |
@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,JsonBall> requirements, String version, Date created)
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 int compareTo(Dataset that)
compareTo
in interface Comparable<Dataset>
Copyright © 2009-2013 jclouds. All Rights Reserved.