Class QueueSnapshotCapacityUsage
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.QueueSnapshotCapacityUsage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueueSnapshotCapacityUsage.Builder,QueueSnapshotCapacityUsage>
@Generated("software.amazon.awssdk:codegen") public final class QueueSnapshotCapacityUsage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueueSnapshotCapacityUsage.Builder,QueueSnapshotCapacityUsage>
The configured capacity usage for a job queue snapshot, including the unit of measure and quantity of resources being used.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueueSnapshotCapacityUsage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueueSnapshotCapacityUsage.Builderbuilder()StringcapacityUnit()The unit of measure for the capacity usage.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublequantity()The quantity of capacity being used in the queue snapshot, measured in the units specified bycapacityUnit.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends QueueSnapshotCapacityUsage.Builder>serializableBuilderClass()QueueSnapshotCapacityUsage.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
capacityUnit
public final String capacityUnit()
The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.- Returns:
- The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.
-
quantity
public final Double quantity()
The quantity of capacity being used in the queue snapshot, measured in the units specified by
capacityUnit.- Returns:
- The quantity of capacity being used in the queue snapshot, measured in the units specified by
capacityUnit.
-
toBuilder
public QueueSnapshotCapacityUsage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueueSnapshotCapacityUsage.Builder,QueueSnapshotCapacityUsage>
-
builder
public static QueueSnapshotCapacityUsage.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueueSnapshotCapacityUsage.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-