Interface QuotaShareDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuotaShareDetail.Builder,,QuotaShareDetail> SdkBuilder<QuotaShareDetail.Builder,,QuotaShareDetail> SdkPojo
- Enclosing class:
QuotaShareDetail
-
Method Summary
Modifier and TypeMethodDescriptioncapacityLimits(Collection<QuotaShareCapacityLimit> capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.capacityLimits(Consumer<QuotaShareCapacityLimit.Builder>... capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.capacityLimits(QuotaShareCapacityLimit... capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.jobQueueArn(String jobQueueArn) The Amazon Resource Name (ARN) of the job queue associated with the quota share.default QuotaShareDetail.BuilderpreemptionConfiguration(Consumer<QuotaSharePreemptionConfiguration.Builder> preemptionConfiguration) Specifies the preemption behavior for jobs in a quota share.preemptionConfiguration(QuotaSharePreemptionConfiguration preemptionConfiguration) Specifies the preemption behavior for jobs in a quota share.quotaShareArn(String quotaShareArn) The Amazon Resource Name (ARN) of the quota share.quotaShareName(String quotaShareName) The name of the quota share.default QuotaShareDetail.BuilderresourceSharingConfiguration(Consumer<QuotaShareResourceSharingConfiguration.Builder> resourceSharingConfiguration) Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.resourceSharingConfiguration(QuotaShareResourceSharingConfiguration resourceSharingConfiguration) Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.The state of the quota share.state(QuotaShareState state) The state of the quota share.The current status of the quota share.status(QuotaShareStatus status) The current status of the quota share.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobQueueArn
The Amazon Resource Name (ARN) of the job queue associated with the quota share.
- Parameters:
jobQueueArn- The Amazon Resource Name (ARN) of the job queue associated with the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
A list that specifies the quantity and type of compute capacity allocated to the quota share.
- Parameters:
capacityLimits- A list that specifies the quantity and type of compute capacity allocated to the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
QuotaShareDetail.Builder capacityLimits(Consumer<QuotaShareCapacityLimit.Builder>... capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.
This is a convenience method that creates an instance of theQuotaShareCapacityLimit.Builderavoiding the need to create one manually viaQuotaShareCapacityLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityLimits(List<QuotaShareCapacityLimit>).- Parameters:
capacityLimits- a consumer that will call methods onQuotaShareCapacityLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceSharingConfiguration
default QuotaShareDetail.Builder resourceSharingConfiguration(Consumer<QuotaShareResourceSharingConfiguration.Builder> resourceSharingConfiguration) Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
This is a convenience method that creates an instance of theQuotaShareResourceSharingConfiguration.Builderavoiding the need to create one manually viaQuotaShareResourceSharingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSharingConfiguration(QuotaShareResourceSharingConfiguration).- Parameters:
resourceSharingConfiguration- a consumer that will call methods onQuotaShareResourceSharingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preemptionConfiguration
default QuotaShareDetail.Builder preemptionConfiguration(Consumer<QuotaSharePreemptionConfiguration.Builder> preemptionConfiguration) Specifies the preemption behavior for jobs in a quota share.
This is a convenience method that creates an instance of theQuotaSharePreemptionConfiguration.Builderavoiding the need to create one manually viaQuotaSharePreemptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreemptionConfiguration(QuotaSharePreemptionConfiguration).- Parameters:
preemptionConfiguration- a consumer that will call methods onQuotaSharePreemptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the quota share.
- Parameters:
state- The state of the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the quota share.
- Parameters:
status- The current status of the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also: