Interface WorkerSearchSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerSearchSummary.Builder,WorkerSearchSummary>,SdkBuilder<WorkerSearchSummary.Builder,WorkerSearchSummary>,SdkPojo
- Enclosing class:
- WorkerSearchSummary
public static interface WorkerSearchSummary.Builder extends SdkPojo, CopyableBuilder<WorkerSearchSummary.Builder,WorkerSearchSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkerSearchSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.WorkerSearchSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.WorkerSearchSummary.BuilderfleetId(String fleetId)The fleet ID.default WorkerSearchSummary.BuilderhostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties)Provides the Amazon EC2 instance properties of the worker host.WorkerSearchSummary.BuilderhostProperties(HostPropertiesResponse hostProperties)Provides the Amazon EC2 instance properties of the worker host.WorkerSearchSummary.Builderstatus(String status)The status of the worker search.WorkerSearchSummary.Builderstatus(WorkerStatus status)The status of the worker search.WorkerSearchSummary.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.WorkerSearchSummary.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.WorkerSearchSummary.BuilderworkerId(String workerId)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, sdkFields
-
-
-
-
Method Detail
-
createdAt
WorkerSearchSummary.Builder createdAt(Instant 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
WorkerSearchSummary.Builder createdBy(String 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.
-
fleetId
WorkerSearchSummary.Builder fleetId(String fleetId)
The fleet ID.
- Parameters:
fleetId- The fleet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
WorkerSearchSummary.Builder hostProperties(HostPropertiesResponse 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.Builderavoiding the need to create one manually viaHostPropertiesResponse.builder().When the
Consumercompletes,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:
hostProperties(HostPropertiesResponse)
-
status
WorkerSearchSummary.Builder status(String 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:
WorkerStatus,WorkerStatus
-
status
WorkerSearchSummary.Builder status(WorkerStatus 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:
WorkerStatus,WorkerStatus
-
updatedAt
WorkerSearchSummary.Builder updatedAt(Instant 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
WorkerSearchSummary.Builder updatedBy(String 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.
-
workerId
WorkerSearchSummary.Builder workerId(String workerId)
The worker ID.
- Parameters:
workerId- The worker ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-