Struct aws_sdk_s3::model::s3_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for S3Location
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the bucket where the restore results will be placed.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the bucket where the restore results will be placed.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The prefix that is prepended to the restore results for this request.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The prefix that is prepended to the restore results for this request.
sourcepub fn encryption(self, input: Encryption) -> Self
pub fn encryption(self, input: Encryption) -> Self
Contains the type of server-side encryption used.
sourcepub fn set_encryption(self, input: Option<Encryption>) -> Self
pub fn set_encryption(self, input: Option<Encryption>) -> Self
Contains the type of server-side encryption used.
sourcepub fn canned_acl(self, input: ObjectCannedAcl) -> Self
pub fn canned_acl(self, input: ObjectCannedAcl) -> Self
The canned ACL to apply to the restore results.
sourcepub fn set_canned_acl(self, input: Option<ObjectCannedAcl>) -> Self
pub fn set_canned_acl(self, input: Option<ObjectCannedAcl>) -> Self
The canned ACL to apply to the restore results.
sourcepub fn access_control_list(self, input: Grant) -> Self
pub fn access_control_list(self, input: Grant) -> Self
Appends an item to access_control_list
.
To override the contents of this collection use set_access_control_list
.
A list of grants that control access to the staged results.
sourcepub fn set_access_control_list(self, input: Option<Vec<Grant>>) -> Self
pub fn set_access_control_list(self, input: Option<Vec<Grant>>) -> Self
A list of grants that control access to the staged results.
sourcepub fn tagging(self, input: Tagging) -> Self
pub fn tagging(self, input: Tagging) -> Self
The tag-set that is applied to the restore results.
sourcepub fn set_tagging(self, input: Option<Tagging>) -> Self
pub fn set_tagging(self, input: Option<Tagging>) -> Self
The tag-set that is applied to the restore results.
sourcepub fn user_metadata(self, input: MetadataEntry) -> Self
pub fn user_metadata(self, input: MetadataEntry) -> Self
Appends an item to user_metadata
.
To override the contents of this collection use set_user_metadata
.
A list of metadata to store with the restore results in S3.
sourcepub fn set_user_metadata(self, input: Option<Vec<MetadataEntry>>) -> Self
pub fn set_user_metadata(self, input: Option<Vec<MetadataEntry>>) -> Self
A list of metadata to store with the restore results in S3.
sourcepub fn storage_class(self, input: StorageClass) -> Self
pub fn storage_class(self, input: StorageClass) -> Self
The class of storage used to store the restore results.
sourcepub fn set_storage_class(self, input: Option<StorageClass>) -> Self
pub fn set_storage_class(self, input: Option<StorageClass>) -> Self
The class of storage used to store the restore results.
sourcepub fn build(self) -> S3Location
pub fn build(self) -> S3Location
Consumes the builder and constructs a S3Location
.