Struct aws_sdk_s3::types::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§
source§impl 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.
source§impl S3Location
impl S3Location
sourcepub fn builder() -> S3LocationBuilder
pub fn builder() -> S3LocationBuilder
Creates a new builder-style object to manufacture S3Location
.
Trait Implementations§
source§impl Clone for S3Location
impl Clone for S3Location
source§fn clone(&self) -> S3Location
fn clone(&self) -> S3Location
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3Location
impl Debug for S3Location
source§impl PartialEq<S3Location> for S3Location
impl PartialEq<S3Location> for S3Location
source§fn eq(&self, other: &S3Location) -> bool
fn eq(&self, other: &S3Location) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more