Interface S3FileLocation.Builder

    • Method Detail

      • bucket

        S3FileLocation.Builder bucket​(String bucket)

        Specifies the S3 bucket that contains the file being used.

        Parameters:
        bucket - Specifies the S3 bucket that contains the file being used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        S3FileLocation.Builder key​(String key)

        The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.

        Parameters:
        key - The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionId

        S3FileLocation.Builder versionId​(String versionId)

        Specifies the file version.

        Parameters:
        versionId - Specifies the file version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • etag

        S3FileLocation.Builder etag​(String etag)

        The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.

        Parameters:
        etag - The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.