org.jclouds.openstack.cinder.v1.domain
Class VolumeQuota
java.lang.Object
org.jclouds.openstack.cinder.v1.domain.VolumeQuota
public class VolumeQuota
- extends Object
|
Constructor Summary |
protected |
VolumeQuota(String id,
int volumes,
int gigabytes,
int snapshots)
|
VolumeQuota
protected VolumeQuota(String id,
int volumes,
int gigabytes,
int snapshots)
getId
public String getId()
- The id of the tenant this set of limits applies to
getVolumes
public int getVolumes()
- The limit of the number of volumes that can be created for the tenant
getGigabytes
public int getGigabytes()
- The limit of the total size of all volumes for the tenant
getSnapshots
public int getSnapshots()
- The limit of the number of snapshots that can be used by the tenant
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
builder
public static VolumeQuota.Builder<?> builder()
toBuilder
public VolumeQuota.Builder<?> toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.