Interface CreateWorkerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkerRequest.Builder,,CreateWorkerRequest> DeadlineRequest.Builder,SdkBuilder<CreateWorkerRequest.Builder,,CreateWorkerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkerRequest
public static interface CreateWorkerRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkerRequest.Builder,CreateWorkerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The unique token which the server uses to recognize retries of the same request.The farm ID of the farm to connect to the worker.The fleet ID to connect to the worker.default CreateWorkerRequest.BuilderhostProperties(Consumer<HostPropertiesRequest.Builder> hostProperties) The IP address and host name of the worker.hostProperties(HostPropertiesRequest hostProperties) The IP address and host name of the worker.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
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
-
farmId
The farm ID of the farm to connect to the worker.
- Parameters:
farmId- The farm ID of the farm to connect to the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
The fleet ID to connect to the worker.
- Parameters:
fleetId- The fleet ID to connect to the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
The IP address and host name of the worker.
- Parameters:
hostProperties- The IP address and host name of the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default CreateWorkerRequest.Builder hostProperties(Consumer<HostPropertiesRequest.Builder> hostProperties) The IP address and host name of the worker.
This is a convenience method that creates an instance of theHostPropertiesRequest.Builderavoiding the need to create one manually viaHostPropertiesRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostProperties(HostPropertiesRequest).- Parameters:
hostProperties- a consumer that will call methods onHostPropertiesRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
CreateWorkerRequest.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
CreateWorkerRequest.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.
-