Struct aws_sdk_s3::model::S3Location
source · [−]#[non_exhaustive]pub struct S3Location {
pub bucket_name: Option<String>,
pub prefix: Option<String>,
pub encryption: Option<Encryption>,
pub canned_acl: Option<ObjectCannedAcl>,
pub access_control_list: Option<Vec<Grant>>,
pub tagging: Option<Tagging>,
pub user_metadata: Option<Vec<MetadataEntry>>,
pub storage_class: Option<StorageClass>,
}
Expand description
Describes an Amazon S3 location that will receive the results of the restore request.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket_name: Option<String>
The name of the bucket where the restore results will be placed.
prefix: Option<String>
The prefix that is prepended to the restore results for this request.
encryption: Option<Encryption>
Contains the type of server-side encryption used.
canned_acl: Option<ObjectCannedAcl>
The canned ACL to apply to the restore results.
access_control_list: Option<Vec<Grant>>
A list of grants that control access to the staged results.
tagging: Option<Tagging>
The tag-set that is applied to the restore results.
user_metadata: Option<Vec<MetadataEntry>>
A list of metadata to store with the restore results in S3.
storage_class: Option<StorageClass>
The class of storage used to store the restore results.
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3Location) -> bool
fn ne(&self, other: &S3Location) -> bool
This method tests for !=
.
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 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