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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateWorkerRequest.BuilderclientToken(String clientToken)The unique token which the server uses to recognize retries of the same request.CreateWorkerRequest.BuilderfarmId(String farmId)The farm ID of the farm to connect to the worker.CreateWorkerRequest.BuilderfleetId(String fleetId)The fleet ID to connect to the worker.default CreateWorkerRequest.BuilderhostProperties(Consumer<HostPropertiesRequest.Builder> hostProperties)The IP address and host name of the worker.CreateWorkerRequest.BuilderhostProperties(HostPropertiesRequest hostProperties)The IP address and host name of the worker.CreateWorkerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
CreateWorkerRequest.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.
-
farmId
CreateWorkerRequest.Builder farmId(String 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
CreateWorkerRequest.Builder fleetId(String 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
CreateWorkerRequest.Builder hostProperties(HostPropertiesRequest 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:
hostProperties(HostPropertiesRequest)
-
overrideConfiguration
CreateWorkerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-