Interface Change.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Change.Builder,Change>,SdkBuilder<Change.Builder,Change>,SdkPojo
- Enclosing class:
- Change
public static interface Change.Builder extends SdkPojo, CopyableBuilder<Change.Builder,Change>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Change.BuilderchangeName(String changeName)Optional name for the change.Change.BuilderchangeType(String changeType)Change types are single string values that describe your intention for the change.Change.Builderdetails(String details)This object contains details specific to the change type of the requested change.Change.BuilderdetailsDocument(Document detailsDocument)Alternative field that accepts a JSON value instead of a string forChangeTypedetails.default Change.Builderentity(Consumer<Entity.Builder> entity)The entity to be changed.Change.Builderentity(Entity entity)The entity to be changed.Change.BuilderentityTags(Collection<Tag> entityTags)The tags associated with the change.Change.BuilderentityTags(Consumer<Tag.Builder>... entityTags)The tags associated with the change.Change.BuilderentityTags(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 Detail
-
changeType
Change.Builder changeType(String changeType)
Change types are single string values that describe your intention for the change. Each change type is unique for each
EntityTypeprovided in the change's scope. For more information on 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 eachEntityTypeprovided in the change's scope. For more information on 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
Change.Builder entity(Entity 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
default Change.Builder entity(Consumer<Entity.Builder> entity)
The entity to be changed.
This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,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:
entity(Entity)
-
entityTags
Change.Builder entityTags(Collection<Tag> 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
Change.Builder entityTags(Tag... 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
Change.Builder entityTags(Consumer<Tag.Builder>... entityTags)
The tags associated with the change.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entityTags(List.) - 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:
#entityTags(java.util.Collection)
-
details
Change.Builder details(String 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
Change.Builder detailsDocument(Document detailsDocument)
Alternative field that accepts a JSON value instead of a string for
ChangeTypedetails. You can use eitherDetailsorDetailsDocument, but not both.- Parameters:
detailsDocument- Alternative field that accepts a JSON value instead of a string forChangeTypedetails. You can use eitherDetailsorDetailsDocument, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeName
Change.Builder changeName(String 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.
-
-