Interface S3Location.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Location.Builder,
,S3Location> SdkBuilder<S3Location.Builder,
,S3Location> SdkPojo
- Enclosing class:
S3Location
-
Method Summary
Modifier and TypeMethodDescriptionaccessControlList
(Collection<Grant> accessControlList) A list of grants that control access to the staged results.accessControlList
(Consumer<Grant.Builder>... accessControlList) A list of grants that control access to the staged results.accessControlList
(Grant... accessControlList) A list of grants that control access to the staged results.bucketName
(String bucketName) The name of the Amazon S3 bucket where the job results are stored.The canned access control list (ACL) to apply to the job results.The canned access control list (ACL) to apply to the job results.default S3Location.Builder
encryption
(Consumer<Encryption.Builder> encryption) Contains information about the encryption used to store the job results in Amazon S3.encryption
(Encryption encryption) Contains information about the encryption used to store the job results in Amazon S3.The prefix that is prepended to the results for this request.storageClass
(String storageClass) The storage class used to store the job results.storageClass
(StorageClass storageClass) The storage class used to store the job results.The tag-set that is applied to the job results.userMetadata
(Map<String, String> userMetadata) A map of metadata to store with the job results in Amazon S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
Contains information about the encryption used to store the job results in Amazon S3.
This is a convenience method that creates an instance of theEncryption.Builder
avoiding the need to create one manually viaEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(Encryption)
.- Parameters:
encryption
- a consumer that will call methods onEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
A list of grants that control access to the staged results.
This is a convenience method that creates an instance of theGrant.Builder
avoiding the need to create one manually viaGrant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessControlList(List<Grant>)
.- Parameters:
accessControlList
- a consumer that will call methods onGrant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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:
-