Interface UpdateWorkerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkerRequest.Builder,,UpdateWorkerRequest> DeadlineRequest.Builder,SdkBuilder<UpdateWorkerRequest.Builder,,UpdateWorkerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkerRequest
@Mutable
@NotThreadSafe
public static interface UpdateWorkerRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkerRequest.Builder,UpdateWorkerRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkerRequest.Buildercapabilities(Consumer<WorkerCapabilities.Builder> capabilities) The worker capabilities to update.capabilities(WorkerCapabilities capabilities) The worker capabilities to update.The farm ID to update.The fleet ID to update.default UpdateWorkerRequest.BuilderhostProperties(Consumer<HostPropertiesRequest.Builder> hostProperties) The host properties to update.hostProperties(HostPropertiesRequest hostProperties) The host properties to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The worker status to update.status(UpdatedWorkerStatus status) The worker status to update.The worker ID to update.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
workerId
The worker ID to update.
- Parameters:
workerId- The worker ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The worker status to update.
- Parameters:
status- The worker status to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The worker status to update.
- Parameters:
status- The worker status to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilities
The worker capabilities to update.
- Parameters:
capabilities- The worker capabilities to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The worker capabilities to update.
This is a convenience method that creates an instance of theWorkerCapabilities.Builderavoiding the need to create one manually viaWorkerCapabilities.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(WorkerCapabilities).- Parameters:
capabilities- a consumer that will call methods onWorkerCapabilities.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostProperties
The host properties to update.
- Parameters:
hostProperties- The host properties to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default UpdateWorkerRequest.Builder hostProperties(Consumer<HostPropertiesRequest.Builder> hostProperties) The host properties to update.
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:
-
overrideConfiguration
UpdateWorkerRequest.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
UpdateWorkerRequest.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.
-