@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Capacity.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
available()
The amount of capacity available for use on the device.
|
static Capacity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the type of capacity, such as memory.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Capacity.Builder> |
serializableBuilderClass() |
Capacity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
total()
The total capacity on the device.
|
String |
unit()
The unit of measure for the type of capacity.
|
Long |
used()
The amount of capacity used on the device.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long available()
The amount of capacity available for use on the device.
public final String name()
The name of the type of capacity, such as memory.
public final Long total()
The total capacity on the device.
public final String unit()
The unit of measure for the type of capacity.
public final Long used()
The amount of capacity used on the device.
public Capacity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Capacity.Builder,Capacity>public static Capacity.Builder builder()
public static Class<? extends Capacity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.