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.Builder
hostProperties
(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
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 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 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.Builder
avoiding the need to create one manually viaHostPropertiesRequest.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateWorkerRequest.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
CreateWorkerRequest.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.
-