Class Capacity
- java.lang.Object
-
- software.amazon.awssdk.services.snowdevicemanagement.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 physical capacity of the Amazon Web Services Snow Family device.
- 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 Longavailable()The amount of capacity available for use on the device.static Capacity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the type of capacity, such as memory.List<SdkField<?>>sdkFields()static Class<? extends Capacity.Builder>serializableBuilderClass()Capacity.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longtotal()The total capacity on the device.Stringunit()The unit of measure for the type of capacity.Longused()The amount of capacity used on the device.-
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
-
available
public final Long available()
The amount of capacity available for use on the device.
- Returns:
- The amount of capacity available for use on the device.
-
name
public final String name()
The name of the type of capacity, such as memory.
- Returns:
- The name of the type of capacity, such as memory.
-
total
public final Long total()
The total capacity on the device.
- Returns:
- The total capacity on the device.
-
unit
public final String unit()
The unit of measure for the type of capacity.
- Returns:
- The unit of measure for the type of capacity.
-
used
public final Long used()
The amount of capacity used on the device.
- Returns:
- The amount of capacity used on the device.
-
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.
-
-