Interface ObjectiveSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectiveSummary.Builder,
,ObjectiveSummary> SdkBuilder<ObjectiveSummary.Builder,
,ObjectiveSummary> SdkPojo
- Enclosing class:
ObjectiveSummary
public static interface ObjectiveSummary.Builder
extends SdkPojo, CopyableBuilder<ObjectiveSummary.Builder,ObjectiveSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that identifies the objective.createTime
(Instant createTime) The time when the objective was created.description
(String description) The description of the objective.default ObjectiveSummary.Builder
The domain that the objective belongs to.domain
(AssociatedDomainSummary domain) The domain that the objective belongs to.lastUpdateTime
(Instant lastUpdateTime) The time when the objective was most recently updated.The name of the objective.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
-
arn
The Amazon Resource Name (ARN) that identifies the objective.
- Parameters:
arn
- The Amazon Resource Name (ARN) that identifies the objective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time when the objective was created.
- Parameters:
createTime
- The time when the objective was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the objective.
- Parameters:
description
- The description of the objective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The domain that the objective belongs to.
- Parameters:
domain
- The domain that the objective belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The domain that the objective belongs to.
This is a convenience method that creates an instance of theAssociatedDomainSummary.Builder
avoiding the need to create one manually viaAssociatedDomainSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomain(AssociatedDomainSummary)
.- Parameters:
domain
- a consumer that will call methods onAssociatedDomainSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdateTime
The time when the objective was most recently updated.
- Parameters:
lastUpdateTime
- The time when the objective was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the objective.
- Parameters:
name
- The name of the objective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-