Interface ChangeBatch.Builder

    • 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 the Change.Builder avoiding the need to create one manually via Change.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #changes(List).

        Parameters:
        changes - a consumer that will call methods on Change.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #changes(java.util.Collection)