Interface Change.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Change.Builder,Change>, SdkBuilder<Change.Builder,Change>, SdkPojo
Enclosing class:
Change

@Mutable @NotThreadSafe public static interface Change.Builder extends SdkPojo, CopyableBuilder<Change.Builder,Change>
  • Method Details

    • specificationType

      Change.Builder specificationType(String specificationType)

      The type of specification for this change.

      Parameters:
      specificationType - The type of specification for this change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • specificationType

      Change.Builder specificationType(ChangeSpecificationType specificationType)

      The type of specification for this change.

      Parameters:
      specificationType - The type of specification for this change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • specification

      Change.Builder specification(ChangeSpecification specification)

      The specification details for this change.

      Parameters:
      specification - The specification details for this change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • specification

      default Change.Builder specification(Consumer<ChangeSpecification.Builder> specification)

      The specification details for this change.

      This is a convenience method that creates an instance of the ChangeSpecification.Builder avoiding the need to create one manually via ChangeSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to specification(ChangeSpecification).

      Parameters:
      specification - a consumer that will call methods on ChangeSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • typesWithStrings

      Change.Builder typesWithStrings(Collection<String> types)

      The list of change types that were applied.

      Parameters:
      types - The list of change types that were applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typesWithStrings

      Change.Builder typesWithStrings(String... types)

      The list of change types that were applied.

      Parameters:
      types - The list of change types that were applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • types

      The list of change types that were applied.

      Parameters:
      types - The list of change types that were applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • types

      Change.Builder types(ChangeType... types)

      The list of change types that were applied.

      Parameters:
      types - The list of change types that were applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.