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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe unit of measure for the capacity usage.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Doublequantity()The quantity of capacity being used in the queue snapshot, measured in the units specified bycapacityUnit.static Class<? extends QueueSnapshotCapacityUsage.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueueSnapshotCapacityUsage.Builder,QueueSnapshotCapacityUsage>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-