Interface CreateFleetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFleetRequest.Builder,CreateFleetRequest>,DeadlineRequest.Builder,SdkBuilder<CreateFleetRequest.Builder,CreateFleetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFleetRequest
public static interface CreateFleetRequest.Builder extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<CreateFleetRequest.Builder,CreateFleetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFleetRequest.BuilderclientToken(String clientToken)The unique token which the server uses to recognize retries of the same request.default CreateFleetRequest.Builderconfiguration(Consumer<FleetConfiguration.Builder> configuration)The configuration settings for the fleet.CreateFleetRequest.Builderconfiguration(FleetConfiguration configuration)The configuration settings for the fleet.CreateFleetRequest.Builderdescription(String description)The description of the fleet.CreateFleetRequest.BuilderdisplayName(String displayName)The display name of the fleet.CreateFleetRequest.BuilderfarmId(String farmId)The farm ID of the farm to connect to the fleet.CreateFleetRequest.BuildermaxWorkerCount(Integer maxWorkerCount)The maximum number of workers for the fleet.CreateFleetRequest.BuilderminWorkerCount(Integer minWorkerCount)The minimum number of workers for the fleet.CreateFleetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFleetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFleetRequest.BuilderroleArn(String roleArn)The IAM role ARN for the role that the fleet's workers will use.CreateFleetRequest.Buildertags(Map<String,String> tags)Each tag consists of a tag key and a tag value.-
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, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateFleetRequest.Builder clientToken(String 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.
-
configuration
CreateFleetRequest.Builder configuration(FleetConfiguration configuration)
The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.
- Parameters:
configuration- The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateFleetRequest.Builder configuration(Consumer<FleetConfiguration.Builder> configuration)
The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.
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:
configuration(FleetConfiguration)
-
description
CreateFleetRequest.Builder description(String description)
The description of the fleet.
- Parameters:
description- The description of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
CreateFleetRequest.Builder displayName(String displayName)
The display name of the fleet.
- Parameters:
displayName- The display name of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
CreateFleetRequest.Builder farmId(String farmId)
The farm ID of the farm to connect to the fleet.
- Parameters:
farmId- The farm ID of the farm to connect to the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxWorkerCount
CreateFleetRequest.Builder maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers for the fleet.
- Parameters:
maxWorkerCount- The maximum number of workers for the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minWorkerCount
CreateFleetRequest.Builder minWorkerCount(Integer minWorkerCount)
The minimum number of workers for the fleet.
- Parameters:
minWorkerCount- The minimum number of workers for the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateFleetRequest.Builder roleArn(String roleArn)
The IAM role ARN for the role that the fleet's workers will use.
- Parameters:
roleArn- The IAM role ARN for the role that the fleet's workers will use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFleetRequest.Builder tags(Map<String,String> tags)
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
- Parameters:
tags- Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-