Interface DescribeQuotaShareResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BatchResponse.Builder,Buildable,CopyableBuilder<DescribeQuotaShareResponse.Builder,DescribeQuotaShareResponse>,SdkBuilder<DescribeQuotaShareResponse.Builder,DescribeQuotaShareResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeQuotaShareResponse
@Mutable @NotThreadSafe public static interface DescribeQuotaShareResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeQuotaShareResponse.Builder,DescribeQuotaShareResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeQuotaShareResponse.BuildercapacityLimits(Collection<QuotaShareCapacityLimit> capacityLimits)A list that specifies the quantity and type of compute capacity allocated to the quota share.DescribeQuotaShareResponse.BuildercapacityLimits(Consumer<QuotaShareCapacityLimit.Builder>... capacityLimits)A list that specifies the quantity and type of compute capacity allocated to the quota share.DescribeQuotaShareResponse.BuildercapacityLimits(QuotaShareCapacityLimit... capacityLimits)A list that specifies the quantity and type of compute capacity allocated to the quota share.DescribeQuotaShareResponse.BuilderjobQueueArn(String jobQueueArn)The ARN of the job queue associated with the quota share.default DescribeQuotaShareResponse.BuilderpreemptionConfiguration(Consumer<QuotaSharePreemptionConfiguration.Builder> preemptionConfiguration)Specifies the preemption behavior for jobs in a quota share.DescribeQuotaShareResponse.BuilderpreemptionConfiguration(QuotaSharePreemptionConfiguration preemptionConfiguration)Specifies the preemption behavior for jobs in a quota share.DescribeQuotaShareResponse.BuilderquotaShareArn(String quotaShareArn)The Amazon Resource Name (ARN) of the quota share.DescribeQuotaShareResponse.BuilderquotaShareName(String quotaShareName)The name of the quota share.default DescribeQuotaShareResponse.BuilderresourceSharingConfiguration(Consumer<QuotaShareResourceSharingConfiguration.Builder> resourceSharingConfiguration)Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.DescribeQuotaShareResponse.BuilderresourceSharingConfiguration(QuotaShareResourceSharingConfiguration resourceSharingConfiguration)Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.DescribeQuotaShareResponse.Builderstate(String state)The state of the quota share.DescribeQuotaShareResponse.Builderstate(QuotaShareState state)The state of the quota share.DescribeQuotaShareResponse.Builderstatus(String status)The current status of the quota share.DescribeQuotaShareResponse.Builderstatus(QuotaShareStatus status)The current status of the quota share.DescribeQuotaShareResponse.Buildertags(Map<String,String> tags)The tags applied to the quota share.-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
quotaShareName
DescribeQuotaShareResponse.Builder quotaShareName(String quotaShareName)
The name of the quota share.
- Parameters:
quotaShareName- The name of the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaShareArn
DescribeQuotaShareResponse.Builder quotaShareArn(String quotaShareArn)
The Amazon Resource Name (ARN) of the quota share.
- Parameters:
quotaShareArn- The Amazon Resource Name (ARN) of the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobQueueArn
DescribeQuotaShareResponse.Builder jobQueueArn(String jobQueueArn)
The ARN of the job queue associated with the quota share.
- Parameters:
jobQueueArn- The 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
DescribeQuotaShareResponse.Builder capacityLimits(Collection<QuotaShareCapacityLimit> 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
DescribeQuotaShareResponse.Builder capacityLimits(QuotaShareCapacityLimit... 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
DescribeQuotaShareResponse.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 to#capacityLimits(List.) - 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:
#capacityLimits(java.util.Collection)
-
resourceSharingConfiguration
DescribeQuotaShareResponse.Builder resourceSharingConfiguration(QuotaShareResourceSharingConfiguration resourceSharingConfiguration)
Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- Parameters:
resourceSharingConfiguration- Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSharingConfiguration
default DescribeQuotaShareResponse.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:
resourceSharingConfiguration(QuotaShareResourceSharingConfiguration)
-
preemptionConfiguration
DescribeQuotaShareResponse.Builder preemptionConfiguration(QuotaSharePreemptionConfiguration preemptionConfiguration)
Specifies the preemption behavior for jobs in a quota share.
- Parameters:
preemptionConfiguration- Specifies the preemption behavior for jobs in a quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preemptionConfiguration
default DescribeQuotaShareResponse.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:
preemptionConfiguration(QuotaSharePreemptionConfiguration)
-
state
DescribeQuotaShareResponse.Builder state(String 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:
QuotaShareState,QuotaShareState
-
state
DescribeQuotaShareResponse.Builder state(QuotaShareState 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:
QuotaShareState,QuotaShareState
-
status
DescribeQuotaShareResponse.Builder status(String 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:
QuotaShareStatus,QuotaShareStatus
-
status
DescribeQuotaShareResponse.Builder status(QuotaShareStatus 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:
QuotaShareStatus,QuotaShareStatus
-
tags
DescribeQuotaShareResponse.Builder tags(Map<String,String> tags)
The tags applied to the quota share.
- Parameters:
tags- The tags applied to the quota share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-