Struct aws_sdk_s3::model::S3Location
source · [−]#[non_exhaustive]pub struct S3Location { /* private fields */ }
Expand description
Describes an Amazon S3 location that will receive the results of the restore request.
Implementations
sourceimpl S3Location
impl S3Location
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The name of the bucket where the restore results will be placed.
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
The prefix that is prepended to the restore results for this request.
sourcepub fn encryption(&self) -> Option<&Encryption>
pub fn encryption(&self) -> Option<&Encryption>
Contains the type of server-side encryption used.
sourcepub fn canned_acl(&self) -> Option<&ObjectCannedAcl>
pub fn canned_acl(&self) -> Option<&ObjectCannedAcl>
The canned ACL to apply to the restore results.
sourcepub fn access_control_list(&self) -> Option<&[Grant]>
pub fn access_control_list(&self) -> Option<&[Grant]>
A list of grants that control access to the staged results.
sourcepub fn user_metadata(&self) -> Option<&[MetadataEntry]>
pub fn user_metadata(&self) -> Option<&[MetadataEntry]>
A list of metadata to store with the restore results in S3.
sourcepub fn storage_class(&self) -> Option<&StorageClass>
pub fn storage_class(&self) -> Option<&StorageClass>
The class of storage used to store the restore results.
sourceimpl S3Location
impl S3Location
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3Location
.
Trait Implementations
sourceimpl Clone for S3Location
impl Clone for S3Location
sourcefn clone(&self) -> S3Location
fn clone(&self) -> S3Location
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for S3Location
impl Debug for S3Location
sourceimpl PartialEq<S3Location> for S3Location
impl PartialEq<S3Location> for S3Location
sourcefn eq(&self, other: &S3Location) -> bool
fn eq(&self, other: &S3Location) -> bool
impl StructuralPartialEq for S3Location
Auto Trait Implementations
impl RefUnwindSafe for S3Location
impl Send for S3Location
impl Sync for S3Location
impl Unpin for S3Location
impl UnwindSafe for S3Location
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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