Interface WorkerSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerSummary.Builder,WorkerSummary>,SdkBuilder<WorkerSummary.Builder,WorkerSummary>,SdkPojo
- Enclosing class:
- WorkerSummary
public static interface WorkerSummary.Builder extends SdkPojo, CopyableBuilder<WorkerSummary.Builder,WorkerSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkerSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.WorkerSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.WorkerSummary.BuilderfarmId(String farmId)The farm ID.WorkerSummary.BuilderfleetId(String fleetId)The fleet ID.default WorkerSummary.BuilderhostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties)The host properties of the worker.WorkerSummary.BuilderhostProperties(HostPropertiesResponse hostProperties)The host properties of the worker.default WorkerSummary.Builderlog(Consumer<LogConfiguration.Builder> log)The log configuration for the worker.WorkerSummary.Builderlog(LogConfiguration log)The log configuration for the worker.WorkerSummary.Builderstatus(String status)The status of the worker.WorkerSummary.Builderstatus(WorkerStatus status)The status of the worker.WorkerSummary.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.WorkerSummary.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.WorkerSummary.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
WorkerSummary.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
WorkerSummary.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.
-
farmId
WorkerSummary.Builder farmId(String 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
WorkerSummary.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
WorkerSummary.Builder hostProperties(HostPropertiesResponse hostProperties)
The host properties of the worker.
- Parameters:
hostProperties- The host properties of the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default WorkerSummary.Builder hostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties)
The host properties of the worker.
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)
-
log
WorkerSummary.Builder log(LogConfiguration log)
The log configuration for the worker.
- Parameters:
log- The log configuration for the worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
default WorkerSummary.Builder log(Consumer<LogConfiguration.Builder> log)
The log configuration for the worker.
This is a convenience method that creates an instance of theLogConfiguration.Builderavoiding the need to create one manually viaLogConfiguration.builder().When the
Consumercompletes,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:
log(LogConfiguration)
-
status
WorkerSummary.Builder status(String 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:
WorkerStatus,WorkerStatus
-
status
WorkerSummary.Builder status(WorkerStatus 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:
WorkerStatus,WorkerStatus
-
updatedAt
WorkerSummary.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
WorkerSummary.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
WorkerSummary.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.
-
-