Interface UpdateWorkerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkerRequest.Builder,UpdateWorkerRequest>,DeadlineRequest.Builder,SdkBuilder<UpdateWorkerRequest.Builder,UpdateWorkerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateWorkerRequest
public static interface UpdateWorkerRequest.Builder extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkerRequest.Builder,UpdateWorkerRequest>
-
-
Method Summary
-
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
-
capabilities
UpdateWorkerRequest.Builder capabilities(WorkerCapabilities 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
default UpdateWorkerRequest.Builder capabilities(Consumer<WorkerCapabilities.Builder> 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:
capabilities(WorkerCapabilities)
-
farmId
UpdateWorkerRequest.Builder farmId(String 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
UpdateWorkerRequest.Builder fleetId(String 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.
-
hostProperties
UpdateWorkerRequest.Builder hostProperties(HostPropertiesRequest 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:
hostProperties(HostPropertiesRequest)
-
status
UpdateWorkerRequest.Builder status(String 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:
UpdatedWorkerStatus,UpdatedWorkerStatus
-
status
UpdateWorkerRequest.Builder status(UpdatedWorkerStatus 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:
UpdatedWorkerStatus,UpdatedWorkerStatus
-
workerId
UpdateWorkerRequest.Builder workerId(String 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.
-
overrideConfiguration
UpdateWorkerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-