Interface S3Location.Builder

    • Method Detail

      • bucketName

        S3Location.Builder bucketName​(String bucketName)

        The name of the bucket where the restore results will be placed.

        Parameters:
        bucketName - The name of the bucket where the restore results will be placed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefix

        S3Location.Builder prefix​(String prefix)

        The prefix that is prepended to the restore results for this request.

        Parameters:
        prefix - The prefix that is prepended to the restore results for this request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryption

        S3Location.Builder encryption​(Encryption encryption)
        Sets the value of the Encryption property for this object.
        Parameters:
        encryption - The new value for the Encryption property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cannedACL

        S3Location.Builder cannedACL​(String cannedACL)

        The canned ACL to apply to the restore results.

        Parameters:
        cannedACL - The canned ACL to apply to the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ObjectCannedACL, ObjectCannedACL
      • cannedACL

        S3Location.Builder cannedACL​(ObjectCannedACL cannedACL)

        The canned ACL to apply to the restore results.

        Parameters:
        cannedACL - The canned ACL to apply to the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ObjectCannedACL, ObjectCannedACL
      • accessControlList

        S3Location.Builder accessControlList​(Collection<Grant> accessControlList)

        A list of grants that control access to the staged results.

        Parameters:
        accessControlList - A list of grants that control access to the staged results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessControlList

        S3Location.Builder accessControlList​(Grant... accessControlList)

        A list of grants that control access to the staged results.

        Parameters:
        accessControlList - A list of grants that control access to the staged results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessControlList

        S3Location.Builder accessControlList​(Consumer<Grant.Builder>... accessControlList)

        A list of grants that control access to the staged results.

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

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

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

        S3Location.Builder tagging​(Tagging tagging)

        The tag-set that is applied to the restore results.

        Parameters:
        tagging - The tag-set that is applied to the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMetadata

        S3Location.Builder userMetadata​(Collection<MetadataEntry> userMetadata)

        A list of metadata to store with the restore results in S3.

        Parameters:
        userMetadata - A list of metadata to store with the restore results in S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMetadata

        S3Location.Builder userMetadata​(MetadataEntry... userMetadata)

        A list of metadata to store with the restore results in S3.

        Parameters:
        userMetadata - A list of metadata to store with the restore results in S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageClass

        S3Location.Builder storageClass​(String storageClass)

        The class of storage used to store the restore results.

        Parameters:
        storageClass - The class of storage used to store the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StorageClass, StorageClass
      • storageClass

        S3Location.Builder storageClass​(StorageClass storageClass)

        The class of storage used to store the restore results.

        Parameters:
        storageClass - The class of storage used to store the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StorageClass, StorageClass