Struct aws_sdk_s3::model::s3_location::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for S3Location
Implementations
sourceimpl 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
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more