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

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

public class VolumeQuota
extends Object


Nested Class Summary
static class VolumeQuota.Builder<T extends VolumeQuota.Builder<T>>
           
 
Constructor Summary
protected VolumeQuota(String id, int volumes, int gigabytes, int snapshots)
           
 
Method Summary
static VolumeQuota.Builder<?> builder()
           
 boolean equals(Object obj)
           
 int getGigabytes()
          The limit of the total size of all volumes for the tenant
 String getId()
          The id of the tenant this set of limits applies to
 int getSnapshots()
          The limit of the number of snapshots that can be used by the tenant
 int getVolumes()
          The limit of the number of volumes that can be created for the tenant
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 VolumeQuota.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeQuota

protected VolumeQuota(String id,
                      int volumes,
                      int gigabytes,
                      int snapshots)
Method Detail

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.