Interface UpdateFleetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFleetRequest.Builder,,UpdateFleetRequest> DeadlineRequest.Builder,SdkBuilder<UpdateFleetRequest.Builder,,UpdateFleetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFleetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The unique token which the server uses to recognize retries of the same request.default UpdateFleetRequest.Builderconfiguration(Consumer<FleetConfiguration.Builder> configuration) The fleet configuration to update.configuration(FleetConfiguration configuration) The fleet configuration to update.description(String description) The description of the fleet to update.displayName(String displayName) The display name of the fleet to update.The farm ID to update.The fleet ID to update.maxWorkerCount(Integer maxWorkerCount) The maximum number of workers in the fleet.minWorkerCount(Integer minWorkerCount) The minimum number of workers in the fleet.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IAM role ARN that the fleet's workers assume while running jobs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
farmId
The farm ID to update.
- Parameters:
farmId- The farm ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
The fleet ID to update.
- Parameters:
fleetId- The fleet ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the fleet to update.
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 fleet to update.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 description of the fleet to update.
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 description of the fleet to update.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.
-
roleArn
The IAM role ARN that the fleet's workers assume while running jobs.
- Parameters:
roleArn- The IAM role ARN that the fleet's workers assume while running jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minWorkerCount
The minimum number of workers in the fleet.
- Parameters:
minWorkerCount- The minimum number of workers in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxWorkerCount
The maximum number of workers in the fleet.
- Parameters:
maxWorkerCount- The maximum number of workers in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The fleet configuration to update.
- Parameters:
configuration- The fleet configuration to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateFleetRequest.Builder configuration(Consumer<FleetConfiguration.Builder> configuration) The fleet configuration to update.
This is a convenience method that creates an instance of theFleetConfiguration.Builderavoiding the need to create one manually viaFleetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(FleetConfiguration).- Parameters:
configuration- a consumer that will call methods onFleetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-