Struct aws_sdk_s3::types::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§
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.