Interface S3Location.Builder

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

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

    • bucketName

      S3Location.Builder bucketName(String bucketName)

      The name of the Amazon S3 bucket where the job results are stored.

      Parameters:
      bucketName - The name of the Amazon S3 bucket where the job results are stored.
      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 results for this request.

      Parameters:
      prefix - The prefix that is prepended to the 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)

      Contains information about the encryption used to store the job results in Amazon S3.

      Parameters:
      encryption - Contains information about the encryption used to store the job results in Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryption

      default S3Location.Builder encryption(Consumer<Encryption.Builder> encryption)

      Contains information about the encryption used to store the job results in Amazon S3.

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

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

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

      S3Location.Builder cannedACL(String cannedACL)

      The canned access control list (ACL) to apply to the job results.

      Parameters:
      cannedACL - The canned access control list (ACL) to apply to the job results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cannedACL

      S3Location.Builder cannedACL(CannedACL cannedACL)

      The canned access control list (ACL) to apply to the job results.

      Parameters:
      cannedACL - The canned access control list (ACL) to apply to the job results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<Grant>).

      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:
    • tagging

      S3Location.Builder tagging(Map<String,String> tagging)

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

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

      S3Location.Builder userMetadata(Map<String,String> userMetadata)

      A map of metadata to store with the job results in Amazon S3.

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

      S3Location.Builder storageClass(String storageClass)

      The storage class used to store the job results.

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

      S3Location.Builder storageClass(StorageClass storageClass)

      The storage class used to store the job results.

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