Interface Change.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Change.Builder,
,Change> SdkBuilder<Change.Builder,
,Change> SdkPojo
- Enclosing class:
Change
-
Method Summary
Modifier and TypeMethodDescriptionchangeName
(String changeName) Optional name for the change.changeType
(String changeType) Change types are single string values that describe your intention for the change.This object contains details specific to the change type of the requested change.detailsDocument
(Document detailsDocument) Alternative field that accepts a JSON value instead of a string forChangeType
details.default Change.Builder
entity
(Consumer<Entity.Builder> entity) The entity to be changed.The entity to be changed.entityTags
(Collection<Tag> entityTags) The tags associated with the change.entityTags
(Consumer<Tag.Builder>... entityTags) The tags associated with the change.entityTags
(Tag... entityTags) The tags associated with the change.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
-
changeType
Change types are single string values that describe your intention for the change. Each change type is unique for each
EntityType
provided in the change's scope. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.- Parameters:
changeType
- Change types are single string values that describe your intention for the change. Each change type is unique for eachEntityType
provided in the change's scope. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity to be changed.
- Parameters:
entity
- The entity to be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The entity to be changed.
This is a convenience method that creates an instance of theEntity.Builder
avoiding the need to create one manually viaEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentity(Entity)
.- Parameters:
entity
- a consumer that will call methods onEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityTags
The tags associated with the change.
- Parameters:
entityTags
- The tags associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTags
The tags associated with the change.
- Parameters:
entityTags
- The tags associated with the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTags
The tags associated with the change.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityTags(List<Tag>)
.- Parameters:
entityTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
This object contains details specific to the change type of the requested change. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.
- Parameters:
details
- This object contains details specific to the change type of the requested change. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailsDocument
Alternative field that accepts a JSON value instead of a string for
ChangeType
details. You can use eitherDetails
orDetailsDocument
, but not both.- Parameters:
detailsDocument
- Alternative field that accepts a JSON value instead of a string forChangeType
details. You can use eitherDetails
orDetailsDocument
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeName
Optional name for the change.
- Parameters:
changeName
- Optional name for the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-