#[non_exhaustive]pub struct CrossAccountReplicaEntryBuilder { /* private fields */ }Expand description
A builder for CrossAccountReplicaEntry.
Implementations§
Source§impl CrossAccountReplicaEntryBuilder
impl CrossAccountReplicaEntryBuilder
Sourcepub fn replica_secret_arn(self, input: impl Into<String>) -> Self
pub fn replica_secret_arn(self, input: impl Into<String>) -> Self
The ARN of the replica secret.
Sourcepub fn set_replica_secret_arn(self, input: Option<String>) -> Self
pub fn set_replica_secret_arn(self, input: Option<String>) -> Self
The ARN of the replica secret.
Sourcepub fn get_replica_secret_arn(&self) -> &Option<String>
pub fn get_replica_secret_arn(&self) -> &Option<String>
The ARN of the replica secret.
Sourcepub fn replication_role_arn(self, input: impl Into<String>) -> Self
pub fn replication_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
Sourcepub fn set_replication_role_arn(self, input: Option<String>) -> Self
pub fn set_replication_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
Sourcepub fn get_replication_role_arn(&self) -> &Option<String>
pub fn get_replication_role_arn(&self) -> &Option<String>
The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
Sourcepub fn replication_status(self, input: StatusType) -> Self
pub fn replication_status(self, input: StatusType) -> Self
The status of replication from this primary secret. The status can be:
-
InSync: Replication from the primary secret is complete. -
Failed: Replication from the primary secret was unable to be completed. -
InProgress: Replication from the primary secret has started but is not complete. -
Detached: Replication from the primary secret was stopped by the replica.
Sourcepub fn set_replication_status(self, input: Option<StatusType>) -> Self
pub fn set_replication_status(self, input: Option<StatusType>) -> Self
The status of replication from this primary secret. The status can be:
-
InSync: Replication from the primary secret is complete. -
Failed: Replication from the primary secret was unable to be completed. -
InProgress: Replication from the primary secret has started but is not complete. -
Detached: Replication from the primary secret was stopped by the replica.
Sourcepub fn get_replication_status(&self) -> &Option<StatusType>
pub fn get_replication_status(&self) -> &Option<StatusType>
The status of replication from this primary secret. The status can be:
-
InSync: Replication from the primary secret is complete. -
Failed: Replication from the primary secret was unable to be completed. -
InProgress: Replication from the primary secret has started but is not complete. -
Detached: Replication from the primary secret was stopped by the replica.
Sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A message that describes the replication status, if Secrets Manager has more information to provide.
Sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A message that describes the replication status, if Secrets Manager has more information to provide.
Sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
A message that describes the replication status, if Secrets Manager has more information to provide.
Sourcepub fn build(self) -> CrossAccountReplicaEntry
pub fn build(self) -> CrossAccountReplicaEntry
Consumes the builder and constructs a CrossAccountReplicaEntry.
Trait Implementations§
Source§impl Clone for CrossAccountReplicaEntryBuilder
impl Clone for CrossAccountReplicaEntryBuilder
Source§fn clone(&self) -> CrossAccountReplicaEntryBuilder
fn clone(&self) -> CrossAccountReplicaEntryBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CrossAccountReplicaEntryBuilder
impl Default for CrossAccountReplicaEntryBuilder
Source§fn default() -> CrossAccountReplicaEntryBuilder
fn default() -> CrossAccountReplicaEntryBuilder
impl StructuralPartialEq for CrossAccountReplicaEntryBuilder
Auto Trait Implementations§
impl Freeze for CrossAccountReplicaEntryBuilder
impl RefUnwindSafe for CrossAccountReplicaEntryBuilder
impl Send for CrossAccountReplicaEntryBuilder
impl Sync for CrossAccountReplicaEntryBuilder
impl Unpin for CrossAccountReplicaEntryBuilder
impl UnsafeUnpin for CrossAccountReplicaEntryBuilder
impl UnwindSafe for CrossAccountReplicaEntryBuilder
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§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