org.jclouds.openstack.cinder.v1.domain
Class VolumeType

java.lang.Object
  extended by org.jclouds.openstack.cinder.v1.domain.VolumeType

public class VolumeType
extends Object

An Openstack Cinder Volume Type.


Nested Class Summary
static class VolumeType.Builder<T extends VolumeType.Builder<T>>
           
 
Constructor Summary
protected VolumeType(String id, String name, Date created, Date updated, Map<String,String> extraSpecs)
           
 
Method Summary
static VolumeType.Builder<?> builder()
           
 boolean equals(Object obj)
           
 com.google.common.base.Optional<Date> getCreated()
          The Date the VolumeType was created
 Map<String,String> getExtraSpecs()
           
 String getId()
           
 String getName()
           
 com.google.common.base.Optional<Date> getUpdated()
          The Date the VolumeType as last updated - absent if no updates have taken place
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 VolumeType.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeType

@ConstructorProperties(value={"id","name","created_at","updated_at","extra_specs"})
protected VolumeType(String id,
                                                String name,
                                                @Nullable
                                                Date created,
                                                @Nullable
                                                Date updated,
                                                Map<String,String> extraSpecs)
Method Detail

builder

public static VolumeType.Builder<?> builder()

toBuilder

public VolumeType.Builder<?> toBuilder()

getId

public String getId()

getName

public String getName()

getCreated

public com.google.common.base.Optional<Date> getCreated()
The Date the VolumeType was created


getUpdated

public com.google.common.base.Optional<Date> getUpdated()
The Date the VolumeType as last updated - absent if no updates have taken place


getExtraSpecs

public Map<String,String> getExtraSpecs()

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.