Struct aws_sdk_s3::model::Destination
source · [−]#[non_exhaustive]pub struct Destination { /* private fields */ }
Expand description
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
Implementations
sourceimpl Destination
impl Destination
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
sourcepub fn account(&self) -> Option<&str>
pub fn account(&self) -> Option<&str>
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying the AccessControlTranslation
property, this is the account ID of the destination bucket owner. For more information, see Replication Additional Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
sourcepub fn storage_class(&self) -> Option<&StorageClass>
pub fn storage_class(&self) -> Option<&StorageClass>
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass
element of the PUT Bucket replication action in the Amazon S3 API Reference.
sourcepub fn access_control_translation(&self) -> Option<&AccessControlTranslation>
pub fn access_control_translation(&self) -> Option<&AccessControlTranslation>
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you must specify this element.
sourcepub fn replication_time(&self) -> Option<&ReplicationTime>
pub fn replication_time(&self) -> Option<&ReplicationTime>
A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics
block.
sourceimpl Destination
impl Destination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Destination
.
Trait Implementations
sourceimpl Clone for Destination
impl Clone for Destination
sourcefn clone(&self) -> Destination
fn clone(&self) -> Destination
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more