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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeBatch.Builderchanges(Collection<Change> changes)Information about the changes to make to the record sets.ChangeBatch.Builderchanges(Consumer<Change.Builder>... changes)Information about the changes to make to the record sets.ChangeBatch.Builderchanges(Change... changes)Information about the changes to make to the record sets.ChangeBatch.Buildercomment(String comment)Optional: Any comments you want to include about a change batch request.-
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
-
comment
ChangeBatch.Builder comment(String 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
ChangeBatch.Builder changes(Collection<Change> 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
ChangeBatch.Builder changes(Change... 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
ChangeBatch.Builder changes(Consumer<Change.Builder>... 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 to#changes(List.) - 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:
#changes(java.util.Collection)
-
-