org.jclouds.openstack.cinder.v1.domain
Class VolumeType
java.lang.Object
org.jclouds.openstack.cinder.v1.domain.VolumeType
public class VolumeType
- extends Object
An Openstack Cinder Volume Type.
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)
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.