org.jclouds.joyent.cloudapi.v6_5.domain
Class Dataset

java.lang.Object
  extended by org.jclouds.joyent.cloudapi.v6_5.domain.Dataset
All Implemented Interfaces:
Comparable<Dataset>

public class Dataset
extends Object
implements Comparable<Dataset>

Listing of a dataset.

Author:
Gerald Pereira
See Also:

Nested Class Summary
static class Dataset.Builder
           
 
Field Summary
protected  Date created
           
protected  String id
           
protected  boolean isDefault
           
protected  String name
           
protected  Type type
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
Dataset(String id, String name, Type type, String version, String urn, boolean isDefault, Date created)
           
 
Method Summary
static Dataset.Builder builder()
           
 int compareTo(Dataset other)
           
 boolean equals(Object object)
           
 Date getCreated()
           
 String getId()
           
 String getName()
           
 Type getType()
           
 String getUrn()
           
 String getVersion()
           
 int hashCode()
           
 boolean isDefault()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final String id

name

protected final String name

type

protected final Type type

version

protected final String version

urn

protected final String urn

isDefault

protected final boolean isDefault

created

protected final Date created
Constructor Detail

Dataset

public Dataset(String id,
               String name,
               Type type,
               String version,
               String urn,
               boolean isDefault,
               Date created)
Method Detail

builder

public static Dataset.Builder builder()

getId

public String getId()

getName

public String getName()

getType

public Type getType()

getVersion

public String getVersion()

getUrn

public String getUrn()

isDefault

public boolean isDefault()

getCreated

public Date getCreated()

compareTo

public int compareTo(Dataset other)
Specified by:
compareTo in interface Comparable<Dataset>

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.