Interface UpdateLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLimitRequest.Builder,
,UpdateLimitRequest> DeadlineRequest.Builder
,SdkBuilder<UpdateLimitRequest.Builder,
,UpdateLimitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLimitRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The new description of the limit.displayName
(String displayName) The new display name of the limit.The unique identifier of the farm that contains the limit.The unique identifier of the limit to update.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
-
farmId
The unique identifier of the farm that contains the limit.
- Parameters:
farmId
- The unique identifier of the farm that contains the limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitId
The unique identifier of the limit to update.
- Parameters:
limitId
- The unique identifier of the limit to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The new 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 new 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.
-
description
The new description 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
- The new description 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.
-
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.
If more than the new maximum number is currently in use, running jobs finish but no new jobs are started until the number of resources in use is below the new maximum number.
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.If more than the new maximum number is currently in use, running jobs finish but no new jobs are started until the number of resources in use is below the new maximum number.
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.
-
overrideConfiguration
UpdateLimitRequest.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
UpdateLimitRequest.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.
-