Interface WorkerSearchSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkerSearchSummary.Builder,
,WorkerSearchSummary> SdkBuilder<WorkerSearchSummary.Builder,
,WorkerSearchSummary> SdkPojo
- Enclosing class:
WorkerSearchSummary
@Mutable
@NotThreadSafe
public static interface WorkerSearchSummary.Builder
extends SdkPojo, CopyableBuilder<WorkerSearchSummary.Builder,WorkerSearchSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the resource was created.The user or system that created this resource.The fleet ID.default WorkerSearchSummary.Builder
hostProperties
(Consumer<HostPropertiesResponse.Builder> hostProperties) Provides the Amazon EC2 instance properties of the worker host.hostProperties
(HostPropertiesResponse hostProperties) Provides the Amazon EC2 instance properties of the worker host.The status of the worker search.status
(WorkerStatus status) The status of the worker search.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
status
The status of the worker search.
- Parameters:
status
- The status of the worker search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the worker search.
- Parameters:
status
- The status of the worker search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostProperties
Provides the Amazon EC2 instance properties of the worker host.
- Parameters:
hostProperties
- Provides the Amazon EC2 instance properties of the worker host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default WorkerSearchSummary.Builder hostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties) Provides the Amazon EC2 instance properties of the worker host.
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:
-
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.
-
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.
-
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.
-
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.
-