Interface Difference.Builder

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

public static interface Difference.Builder extends SdkPojo, CopyableBuilder<Difference.Builder,Difference>
  • Method Details

    • beforeBlob

      Difference.Builder beforeBlob(BlobMetadata beforeBlob)

      Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

      Parameters:
      beforeBlob - Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforeBlob

      default Difference.Builder beforeBlob(Consumer<BlobMetadata.Builder> beforeBlob)

      Information about a beforeBlob data type object, including the ID, the file mode permission code, and the path.

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

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

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

      Difference.Builder afterBlob(BlobMetadata afterBlob)

      Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

      Parameters:
      afterBlob - Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterBlob

      default Difference.Builder afterBlob(Consumer<BlobMetadata.Builder> afterBlob)

      Information about an afterBlob data type object, including the ID, the file mode permission code, and the path.

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

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

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

      Difference.Builder changeType(String changeType)

      Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

      Parameters:
      changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • changeType

      Difference.Builder changeType(ChangeTypeEnum changeType)

      Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

      Parameters:
      changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: