Struct aws_sdk_ecr::types::builders::ImageReplicationStatusBuilder
source · #[non_exhaustive]pub struct ImageReplicationStatusBuilder { /* private fields */ }Expand description
A builder for ImageReplicationStatus.
Implementations§
source§impl ImageReplicationStatusBuilder
impl ImageReplicationStatusBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The destination Region for the image replication.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The destination Region for the image replication.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The destination Region for the image replication.
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 associated with the registry to which the image belongs.
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 associated with the registry to which the image belongs.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with the registry to which the image belongs.
sourcepub fn status(self, input: ReplicationStatus) -> Self
pub fn status(self, input: ReplicationStatus) -> Self
The image replication status.
sourcepub fn set_status(self, input: Option<ReplicationStatus>) -> Self
pub fn set_status(self, input: Option<ReplicationStatus>) -> Self
The image replication status.
sourcepub fn get_status(&self) -> &Option<ReplicationStatus>
pub fn get_status(&self) -> &Option<ReplicationStatus>
The image replication status.
sourcepub fn failure_code(self, input: impl Into<String>) -> Self
pub fn failure_code(self, input: impl Into<String>) -> Self
The failure code for a replication that has failed.
sourcepub fn set_failure_code(self, input: Option<String>) -> Self
pub fn set_failure_code(self, input: Option<String>) -> Self
The failure code for a replication that has failed.
sourcepub fn get_failure_code(&self) -> &Option<String>
pub fn get_failure_code(&self) -> &Option<String>
The failure code for a replication that has failed.
sourcepub fn build(self) -> ImageReplicationStatus
pub fn build(self) -> ImageReplicationStatus
Consumes the builder and constructs a ImageReplicationStatus.
Trait Implementations§
source§impl Clone for ImageReplicationStatusBuilder
impl Clone for ImageReplicationStatusBuilder
source§fn clone(&self) -> ImageReplicationStatusBuilder
fn clone(&self) -> ImageReplicationStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ImageReplicationStatusBuilder
impl Default for ImageReplicationStatusBuilder
source§fn default() -> ImageReplicationStatusBuilder
fn default() -> ImageReplicationStatusBuilder
source§impl PartialEq for ImageReplicationStatusBuilder
impl PartialEq for ImageReplicationStatusBuilder
source§fn eq(&self, other: &ImageReplicationStatusBuilder) -> bool
fn eq(&self, other: &ImageReplicationStatusBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageReplicationStatusBuilder
Auto Trait Implementations§
impl Freeze for ImageReplicationStatusBuilder
impl RefUnwindSafe for ImageReplicationStatusBuilder
impl Send for ImageReplicationStatusBuilder
impl Sync for ImageReplicationStatusBuilder
impl Unpin for ImageReplicationStatusBuilder
impl UnwindSafe for ImageReplicationStatusBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more