#[non_exhaustive]pub struct ReplicationStatusTypeBuilder { /* private fields */ }
Expand description
A builder for ReplicationStatusType
.
Implementations§
source§impl ReplicationStatusTypeBuilder
impl ReplicationStatusTypeBuilder
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Region where replication occurs.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Region where replication occurs.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
Can be an ARN
, Key ID
, or Alias
.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
Can be an ARN
, Key ID
, or Alias
.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
Can be an ARN
, Key ID
, or Alias
.
sourcepub fn status(self, input: StatusType) -> Self
pub fn status(self, input: StatusType) -> Self
The status can be InProgress
, Failed
, or InSync
.
sourcepub fn set_status(self, input: Option<StatusType>) -> Self
pub fn set_status(self, input: Option<StatusType>) -> Self
The status can be InProgress
, Failed
, or InSync
.
sourcepub fn get_status(&self) -> &Option<StatusType>
pub fn get_status(&self) -> &Option<StatusType>
The status can be InProgress
, Failed
, or InSync
.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
Status message such as "Secret with this name already exists in this region".
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
Status message such as "Secret with this name already exists in this region".
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
Status message such as "Secret with this name already exists in this region".
sourcepub fn last_accessed_date(self, input: DateTime) -> Self
pub fn last_accessed_date(self, input: DateTime) -> Self
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
sourcepub fn set_last_accessed_date(self, input: Option<DateTime>) -> Self
pub fn set_last_accessed_date(self, input: Option<DateTime>) -> Self
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
sourcepub fn get_last_accessed_date(&self) -> &Option<DateTime>
pub fn get_last_accessed_date(&self) -> &Option<DateTime>
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
sourcepub fn build(self) -> ReplicationStatusType
pub fn build(self) -> ReplicationStatusType
Consumes the builder and constructs a ReplicationStatusType
.
Trait Implementations§
source§impl Clone for ReplicationStatusTypeBuilder
impl Clone for ReplicationStatusTypeBuilder
source§fn clone(&self) -> ReplicationStatusTypeBuilder
fn clone(&self) -> ReplicationStatusTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationStatusTypeBuilder
impl Debug for ReplicationStatusTypeBuilder
source§impl Default for ReplicationStatusTypeBuilder
impl Default for ReplicationStatusTypeBuilder
source§fn default() -> ReplicationStatusTypeBuilder
fn default() -> ReplicationStatusTypeBuilder
source§impl PartialEq for ReplicationStatusTypeBuilder
impl PartialEq for ReplicationStatusTypeBuilder
source§fn eq(&self, other: &ReplicationStatusTypeBuilder) -> bool
fn eq(&self, other: &ReplicationStatusTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.