Interface CreateLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLimitRequest.Builder,
,CreateLimitRequest> DeadlineRequest.Builder
,SdkBuilder<CreateLimitRequest.Builder,
,CreateLimitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLimitRequest
-
Method Summary
Modifier and TypeMethodDescriptionamountRequirementName
(String amountRequirementName) The value that you specify as thename
in theamounts
field of thehostRequirements
in a step of a job template to declare the limit requirement.clientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.description
(String description) A description of the limit.displayName
(String displayName) The display name of the limit.The farm ID of the farm that contains the limit.The maximum number of resources constrained by this limit.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
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 Details
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the limit.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amountRequirementName
The value that you specify as the
name
in theamounts
field of thehostRequirements
in a step of a job template to declare the limit requirement.- Parameters:
amountRequirementName
- The value that you specify as thename
in theamounts
field of thehostRequirements
in a step of a job template to declare the limit requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCount
The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available.
The
maxCount
must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.- Parameters:
maxCount
- The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available.The
maxCount
must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID of the farm that contains the limit.
- Parameters:
farmId
- The farm ID of the farm that contains the limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the limit. A description helps you identify the purpose of the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- A description of the limit. A description helps you identify the purpose of the limit.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-