Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::ReplicationConfiguration
pub struct ReplicationConfiguration {
pub role: Option<String>,
pub rules: Option<Vec<ReplicationRule, Global>>,
}
Expand description
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
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.role: Option<String>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
rules: Option<Vec<ReplicationRule, Global>>
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
Implementations§
§impl ReplicationConfiguration
impl ReplicationConfiguration
pub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
pub fn rules(&self) -> Option<&[ReplicationRule]>
pub fn rules(&self) -> Option<&[ReplicationRule]>
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
§impl ReplicationConfiguration
impl ReplicationConfiguration
pub fn builder() -> ReplicationConfigurationBuilder
pub fn builder() -> ReplicationConfigurationBuilder
Creates a new builder-style object to manufacture ReplicationConfiguration
.
Trait Implementations§
§impl Clone for ReplicationConfiguration
impl Clone for ReplicationConfiguration
§fn clone(&self) -> ReplicationConfiguration
fn clone(&self) -> ReplicationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ReplicationConfiguration
impl Debug for ReplicationConfiguration
§impl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
impl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
§fn eq(&self, other: &ReplicationConfiguration) -> bool
fn eq(&self, other: &ReplicationConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.