Struct aws_sdk_ecr::types::builders::ReplicationRuleBuilder
source · #[non_exhaustive]pub struct ReplicationRuleBuilder { /* private fields */ }Expand description
A builder for ReplicationRule.
Implementations§
source§impl ReplicationRuleBuilder
impl ReplicationRuleBuilder
sourcepub fn destinations(self, input: ReplicationDestination) -> Self
pub fn destinations(self, input: ReplicationDestination) -> Self
Appends an item to destinations.
To override the contents of this collection use set_destinations.
An array of objects representing the destination for a replication rule.
sourcepub fn set_destinations(
self,
input: Option<Vec<ReplicationDestination>>
) -> Self
pub fn set_destinations( self, input: Option<Vec<ReplicationDestination>> ) -> Self
An array of objects representing the destination for a replication rule.
sourcepub fn get_destinations(&self) -> &Option<Vec<ReplicationDestination>>
pub fn get_destinations(&self) -> &Option<Vec<ReplicationDestination>>
An array of objects representing the destination for a replication rule.
sourcepub fn repository_filters(self, input: RepositoryFilter) -> Self
pub fn repository_filters(self, input: RepositoryFilter) -> Self
Appends an item to repository_filters.
To override the contents of this collection use set_repository_filters.
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
sourcepub fn set_repository_filters(
self,
input: Option<Vec<RepositoryFilter>>
) -> Self
pub fn set_repository_filters( self, input: Option<Vec<RepositoryFilter>> ) -> Self
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
sourcepub fn get_repository_filters(&self) -> &Option<Vec<RepositoryFilter>>
pub fn get_repository_filters(&self) -> &Option<Vec<RepositoryFilter>>
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
sourcepub fn build(self) -> ReplicationRule
pub fn build(self) -> ReplicationRule
Consumes the builder and constructs a ReplicationRule.
Trait Implementations§
source§impl Clone for ReplicationRuleBuilder
impl Clone for ReplicationRuleBuilder
source§fn clone(&self) -> ReplicationRuleBuilder
fn clone(&self) -> ReplicationRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplicationRuleBuilder
impl Debug for ReplicationRuleBuilder
source§impl Default for ReplicationRuleBuilder
impl Default for ReplicationRuleBuilder
source§fn default() -> ReplicationRuleBuilder
fn default() -> ReplicationRuleBuilder
source§impl PartialEq<ReplicationRuleBuilder> for ReplicationRuleBuilder
impl PartialEq<ReplicationRuleBuilder> for ReplicationRuleBuilder
source§fn eq(&self, other: &ReplicationRuleBuilder) -> bool
fn eq(&self, other: &ReplicationRuleBuilder) -> bool
self and other values to be equal, and is used
by ==.