Interface ChangeBatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChangeBatch.Builder,,ChangeBatch> SdkBuilder<ChangeBatch.Builder,,ChangeBatch> SdkPojo
- Enclosing class:
ChangeBatch
public static interface ChangeBatch.Builder
extends SdkPojo, CopyableBuilder<ChangeBatch.Builder,ChangeBatch>
-
Method Summary
Modifier and TypeMethodDescriptionchanges(Collection<Change> changes) Information about the changes to make to the record sets.changes(Consumer<Change.Builder>... changes) Information about the changes to make to the record sets.Information about the changes to make to the record sets.Optional: Any comments you want to include about a change batch request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
comment
Optional: Any comments you want to include about a change batch request.
- Parameters:
comment- Optional: Any comments you want to include about a change batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
Information about the changes to make to the record sets.
- Parameters:
changes- Information about the changes to make to the record sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
Information about the changes to make to the record sets.
- Parameters:
changes- Information about the changes to make to the record sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changes
Information about the changes to make to the record sets.
This is a convenience method that creates an instance of theChange.Builderavoiding the need to create one manually viaChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochanges(List<Change>).- Parameters:
changes- a consumer that will call methods onChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-