Interface SnapshotFileGroup.Builder

    • Method Detail

      • files

        SnapshotFileGroup.Builder files​(Collection<SnapshotFile> files)

        A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.

        Parameters:
        files - A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        SnapshotFileGroup.Builder files​(SnapshotFile... files)

        A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.

        Parameters:
        files - A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        SnapshotFileGroup.Builder files​(Consumer<SnapshotFile.Builder>... files)

        A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.

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

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

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