Interface UpdateWorkerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateWorkerResponse.Builder,
,UpdateWorkerResponse> DeadlineResponse.Builder
,SdkBuilder<UpdateWorkerResponse.Builder,
,UpdateWorkerResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateWorkerResponse
@Mutable
@NotThreadSafe
public static interface UpdateWorkerResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkerResponse.Builder,UpdateWorkerResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkerResponse.Builder
hostConfiguration
(Consumer<HostConfiguration.Builder> hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.hostConfiguration
(HostConfiguration hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.default UpdateWorkerResponse.Builder
The worker log to update.log
(LogConfiguration log) The worker log to update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
log
The worker log to update.
- Parameters:
log
- The worker log to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
The worker log to update.
This is a convenience method that creates an instance of theLogConfiguration.Builder
avoiding the need to create one manually viaLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolog(LogConfiguration)
.- Parameters:
log
- a consumer that will call methods onLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostConfiguration
The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
- Parameters:
hostConfiguration
- The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostConfiguration
default UpdateWorkerResponse.Builder hostConfiguration(Consumer<HostConfiguration.Builder> hostConfiguration) The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
This is a convenience method that creates an instance of theHostConfiguration.Builder
avoiding the need to create one manually viaHostConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostConfiguration(HostConfiguration)
.- Parameters:
hostConfiguration
- a consumer that will call methods onHostConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-