Interface FairshareCapacityUtilization.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FairshareCapacityUtilization.Builder,FairshareCapacityUtilization>,SdkBuilder<FairshareCapacityUtilization.Builder,FairshareCapacityUtilization>,SdkPojo
- Enclosing class:
- FairshareCapacityUtilization
@Mutable @NotThreadSafe public static interface FairshareCapacityUtilization.Builder extends SdkPojo, CopyableBuilder<FairshareCapacityUtilization.Builder,FairshareCapacityUtilization>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FairshareCapacityUtilization.BuildercapacityUsage(Collection<FairshareCapacityUsage> capacityUsage)The capacity usage information for this share, including the unit of measure and quantity being used.FairshareCapacityUtilization.BuildercapacityUsage(Consumer<FairshareCapacityUsage.Builder>... capacityUsage)The capacity usage information for this share, including the unit of measure and quantity being used.FairshareCapacityUtilization.BuildercapacityUsage(FairshareCapacityUsage... capacityUsage)The capacity usage information for this share, including the unit of measure and quantity being used.FairshareCapacityUtilization.BuildershareIdentifier(String shareIdentifier)The share identifier for the fairshare scheduling job queue.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
shareIdentifier
FairshareCapacityUtilization.Builder shareIdentifier(String shareIdentifier)
The share identifier for the fairshare scheduling job queue.
- Parameters:
shareIdentifier- The share identifier for the fairshare scheduling job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUsage
FairshareCapacityUtilization.Builder capacityUsage(Collection<FairshareCapacityUsage> capacityUsage)
The capacity usage information for this share, including the unit of measure and quantity being used. This is
VCPUfor Amazon EC2 andcpufor Amazon EKS.- Parameters:
capacityUsage- The capacity usage information for this share, including the unit of measure and quantity being used. This isVCPUfor Amazon EC2 andcpufor Amazon EKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUsage
FairshareCapacityUtilization.Builder capacityUsage(FairshareCapacityUsage... capacityUsage)
The capacity usage information for this share, including the unit of measure and quantity being used. This is
VCPUfor Amazon EC2 andcpufor Amazon EKS.- Parameters:
capacityUsage- The capacity usage information for this share, including the unit of measure and quantity being used. This isVCPUfor Amazon EC2 andcpufor Amazon EKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUsage
FairshareCapacityUtilization.Builder capacityUsage(Consumer<FairshareCapacityUsage.Builder>... capacityUsage)
The capacity usage information for this share, including the unit of measure and quantity being used. This is
This is a convenience method that creates an instance of theVCPUfor Amazon EC2 andcpufor Amazon EKS.FairshareCapacityUsage.Builderavoiding the need to create one manually viaFairshareCapacityUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#capacityUsage(List.) - Parameters:
capacityUsage- a consumer that will call methods onFairshareCapacityUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#capacityUsage(java.util.Collection)
-
-