Class FairshareCapacityUsage
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.FairshareCapacityUsage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FairshareCapacityUsage.Builder,FairshareCapacityUsage>
@Generated("software.amazon.awssdk:codegen") public final class FairshareCapacityUsage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FairshareCapacityUsage.Builder,FairshareCapacityUsage>
The capacity usage for a fairshare scheduling job queue.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFairshareCapacityUsage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FairshareCapacityUsage.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, measured in the units specified bycapacityUnit.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FairshareCapacityUsage.Builder>serializableBuilderClass()FairshareCapacityUsage.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, measured in the units specified by
capacityUnit.- Returns:
- The quantity of capacity being used, measured in the units specified by
capacityUnit.
-
toBuilder
public FairshareCapacityUsage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FairshareCapacityUsage.Builder,FairshareCapacityUsage>
-
builder
public static FairshareCapacityUsage.Builder builder()
-
serializableBuilderClass
public static Class<? extends FairshareCapacityUsage.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
-
-