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 bucket where the restore results will be placed.The canned ACL to apply to the restore results.cannedACL
(ObjectCannedACL cannedACL) The canned ACL to apply to the restore results.default S3Location.Builder
encryption
(Consumer<Encryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption
(Encryption encryption) Sets the value of the Encryption property for this object.The prefix that is prepended to the restore results for this request.storageClass
(String storageClass) The class of storage used to store the restore results.storageClass
(StorageClass storageClass) The class of storage used to store the restore results.default S3Location.Builder
tagging
(Consumer<Tagging.Builder> tagging) The tag-set that is applied to the restore results.The tag-set that is applied to the restore results.userMetadata
(Collection<MetadataEntry> userMetadata) A list of metadata to store with the restore results in S3.userMetadata
(Consumer<MetadataEntry.Builder>... userMetadata) A list of metadata to store with the restore results in S3.userMetadata
(MetadataEntry... userMetadata) A list of metadata to store with the restore results in 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 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
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
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.
-
encryption
Sets the value of the Encryption property for this object. 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 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:
-
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:
-
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 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.
-
tagging
The tag-set that is applied to the restore results.
This is a convenience method that creates an instance of theTagging.Builder
avoiding the need to create one manually viaTagging.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagging(Tagging)
.- Parameters:
tagging
- a consumer that will call methods onTagging.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
A list of metadata to store with the restore results in S3.
This is a convenience method that creates an instance of theMetadataEntry.Builder
avoiding the need to create one manually viaMetadataEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserMetadata(List<MetadataEntry>)
.- Parameters:
userMetadata
- a consumer that will call methods onMetadataEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-