Struct aws_sdk_ecr::model::replication_destination::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ReplicationDestination.
Implementations§
source§impl Builder
impl Builder
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.