Struct aws_sdk_ecr::types::builders::ReplicationDestinationBuilder
source · #[non_exhaustive]pub struct ReplicationDestinationBuilder { /* private fields */ }
Expand description
A builder for ReplicationDestination
.
Implementations§
source§impl ReplicationDestinationBuilder
impl ReplicationDestinationBuilder
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Region to replicate to.
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
sourcepub fn build(self) -> ReplicationDestination
pub fn build(self) -> ReplicationDestination
Consumes the builder and constructs a ReplicationDestination
.
Trait Implementations§
source§impl Clone for ReplicationDestinationBuilder
impl Clone for ReplicationDestinationBuilder
source§fn clone(&self) -> ReplicationDestinationBuilder
fn clone(&self) -> ReplicationDestinationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ReplicationDestinationBuilder
impl Default for ReplicationDestinationBuilder
source§fn default() -> ReplicationDestinationBuilder
fn default() -> ReplicationDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReplicationDestinationBuilder> for ReplicationDestinationBuilder
impl PartialEq<ReplicationDestinationBuilder> for ReplicationDestinationBuilder
source§fn eq(&self, other: &ReplicationDestinationBuilder) -> bool
fn eq(&self, other: &ReplicationDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReplicationDestinationBuilder
impl Send for ReplicationDestinationBuilder
impl Sync for ReplicationDestinationBuilder
impl Unpin for ReplicationDestinationBuilder
impl UnwindSafe for ReplicationDestinationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more