public static interface ChangeBatch.Builder extends CopyableBuilder<ChangeBatch.Builder,ChangeBatch>
Modifier and Type | Method and Description |
---|---|
ChangeBatch.Builder |
changes(Change... changes)
Information about the changes to make to the record sets.
|
ChangeBatch.Builder |
changes(Collection<Change> changes)
Information about the changes to make to the record sets.
|
ChangeBatch.Builder |
changes(Consumer<Change.Builder>... changes)
Information about the changes to make to the record sets.
|
ChangeBatch.Builder |
comment(String comment)
Optional: Any comments you want to include about a change batch request.
|
copy
applyMutation, build
ChangeBatch.Builder comment(String comment)
Optional: Any comments you want to include about a change batch request.
comment
- Optional: Any comments you want to include about a change batch request.ChangeBatch.Builder changes(Collection<Change> changes)
Information about the changes to make to the record sets.
changes
- Information about the changes to make to the record sets.ChangeBatch.Builder changes(Change... changes)
Information about the changes to make to the record sets.
changes
- Information about the changes to make to the record sets.ChangeBatch.Builder changes(Consumer<Change.Builder>... changes)
Information about the changes to make to the record sets.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #changes(List)
.changes
- a consumer that will call methods on List.Builder
#changes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.