Interface GetWorkerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWorkerResponse.Builder,
,GetWorkerResponse> DeadlineResponse.Builder
,SdkBuilder<GetWorkerResponse.Builder,
,GetWorkerResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkerResponse
@Mutable
@NotThreadSafe
public static interface GetWorkerResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<GetWorkerResponse.Builder,GetWorkerResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the resource was created.The user or system that created this resource.The farm ID.The fleet ID.default GetWorkerResponse.Builder
hostProperties
(Consumer<HostPropertiesResponse.Builder> hostProperties) The host properties for the worker.hostProperties
(HostPropertiesResponse hostProperties) The host properties for the worker.default GetWorkerResponse.Builder
The logs for the associated worker.log
(LogConfiguration log) The logs for the associated worker.The status of the worker.status
(WorkerStatus status) The status of the worker.The date and time the resource was updated.The user or system that updated this resource.The worker ID.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
-
farmId
The farm ID.
- Parameters:
farmId
- The farm ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
The fleet ID.
- Parameters:
fleetId
- The fleet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerId
The worker ID.
- Parameters:
workerId
- The worker ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
The host properties for the worker.
- Parameters:
hostProperties
- The host properties for the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default GetWorkerResponse.Builder hostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties) The host properties for the worker.
This is a convenience method that creates an instance of theHostPropertiesResponse.Builder
avoiding the need to create one manually viaHostPropertiesResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostProperties(HostPropertiesResponse)
.- Parameters:
hostProperties
- a consumer that will call methods onHostPropertiesResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the worker.
- Parameters:
status
- The status of the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the worker.
- Parameters:
status
- The status of the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
log
The logs for the associated worker.
- Parameters:
log
- The logs for the associated worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
The logs for the associated worker.
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:
-
createdAt
The date and time the resource was created.
- Parameters:
createdAt
- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user or system that created this resource.
- Parameters:
createdBy
- The user or system that created this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the resource was updated.
- Parameters:
updatedAt
- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user or system that updated this resource.
- Parameters:
updatedBy
- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-