Class ImmutableDeltaLakeTable.Builder

  • Enclosing class:
    ImmutableDeltaLakeTable

    @NotThreadSafe
    public static final class ImmutableDeltaLakeTable.Builder
    extends Object
    Builds instances of type ImmutableDeltaLakeTable. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder from​(DeltaLakeTable instance)
        Fill a builder with attribute values from the provided org.projectnessie.model.DeltaLakeTable instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder from​(Content instance)
        Fill a builder with attribute values from the provided org.projectnessie.model.Content instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • id

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder id​(String id)
        Initializes the value for the id attribute.

        If not set, this attribute will have a default value as returned by the initializer of id.

        Parameters:
        id - The value for id
        Returns:
        this builder for use in a chained invocation
      • addMetadataLocationHistory

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder addMetadataLocationHistory​(String element)
        Adds one element to metadataLocationHistory list.
        Parameters:
        element - A metadataLocationHistory element
        Returns:
        this builder for use in a chained invocation
      • addMetadataLocationHistory

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder addMetadataLocationHistory​(String... elements)
        Adds elements to metadataLocationHistory list.
        Parameters:
        elements - An array of metadataLocationHistory elements
        Returns:
        this builder for use in a chained invocation
      • addCheckpointLocationHistory

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder addCheckpointLocationHistory​(String element)
        Adds one element to checkpointLocationHistory list.
        Parameters:
        element - A checkpointLocationHistory element
        Returns:
        this builder for use in a chained invocation
      • addCheckpointLocationHistory

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder addCheckpointLocationHistory​(String... elements)
        Adds elements to checkpointLocationHistory list.
        Parameters:
        elements - An array of checkpointLocationHistory elements
        Returns:
        this builder for use in a chained invocation
      • lastCheckpoint

        @CanIgnoreReturnValue
        public final ImmutableDeltaLakeTable.Builder lastCheckpoint​(@Nullable
                                                                    String lastCheckpoint)
        Initializes the value for the lastCheckpoint attribute.
        Parameters:
        lastCheckpoint - The value for lastCheckpoint (can be null)
        Returns:
        this builder for use in a chained invocation