Interface WorkerConfigurationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkerConfigurationSummary.Builder,
,WorkerConfigurationSummary> SdkBuilder<WorkerConfigurationSummary.Builder,
,WorkerConfigurationSummary> SdkPojo
- Enclosing class:
WorkerConfigurationSummary
public static interface WorkerConfigurationSummary.Builder
extends SdkPojo, CopyableBuilder<WorkerConfigurationSummary.Builder,WorkerConfigurationSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time that a worker configuration was created.description
(String description) The description of a worker configuration.latestRevision
(Consumer<WorkerConfigurationRevisionSummary.Builder> latestRevision) The latest revision of a worker configuration.latestRevision
(WorkerConfigurationRevisionSummary latestRevision) The latest revision of a worker configuration.The name of the worker configuration.workerConfigurationArn
(String workerConfigurationArn) The Amazon Resource Name (ARN) of the worker configuration.workerConfigurationState
(String workerConfigurationState) The state of the worker configuration.workerConfigurationState
(WorkerConfigurationState workerConfigurationState) The state of the worker configuration.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 Details
-
creationTime
The time that a worker configuration was created.
- Parameters:
creationTime
- The time that a worker configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of a worker configuration.
- Parameters:
description
- The description of a worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
WorkerConfigurationSummary.Builder latestRevision(WorkerConfigurationRevisionSummary latestRevision) The latest revision of a worker configuration.
- Parameters:
latestRevision
- The latest revision of a worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default WorkerConfigurationSummary.Builder latestRevision(Consumer<WorkerConfigurationRevisionSummary.Builder> latestRevision) The latest revision of a worker configuration.
This is a convenience method that creates an instance of theWorkerConfigurationRevisionSummary.Builder
avoiding the need to create one manually viaWorkerConfigurationRevisionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestRevision(WorkerConfigurationRevisionSummary)
.- Parameters:
latestRevision
- a consumer that will call methods onWorkerConfigurationRevisionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the worker configuration.
- Parameters:
name
- The name of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurationArn
The Amazon Resource Name (ARN) of the worker configuration.
- Parameters:
workerConfigurationArn
- The Amazon Resource Name (ARN) of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurationState
The state of the worker configuration.
- Parameters:
workerConfigurationState
- The state of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workerConfigurationState
WorkerConfigurationSummary.Builder workerConfigurationState(WorkerConfigurationState workerConfigurationState) The state of the worker configuration.
- Parameters:
workerConfigurationState
- The state of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-