Class Capacity
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.Capacity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Capacity.Builder,Capacity>
@Generated("software.amazon.awssdk:codegen") public final class Capacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Capacity.Builder,Capacity>
The storage capacity of an on-premises storage system resource (for example, a volume).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCapacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Capacity.Builderbuilder()LongclusterCloudStorageUsed()The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglogicalUsed()The amount of space that's being used in a storage system resource without accounting for compression or deduplication.Longprovisioned()The total amount of space available in a storage system resource.List<SdkField<?>>sdkFields()static Class<? extends Capacity.Builder>serializableBuilderClass()Capacity.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longused()The amount of space that's being used in a storage system resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
used
public final Long used()
The amount of space that's being used in a storage system resource.
- Returns:
- The amount of space that's being used in a storage system resource.
-
provisioned
public final Long provisioned()
The total amount of space available in a storage system resource.
- Returns:
- The total amount of space available in a storage system resource.
-
logicalUsed
public final Long logicalUsed()
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
- Returns:
- The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
-
clusterCloudStorageUsed
public final Long clusterCloudStorageUsed()
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
- Returns:
- The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
-
toBuilder
public Capacity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Capacity.Builder,Capacity>
-
builder
public static Capacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends Capacity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-