#[non_exhaustive]pub struct CrossAccountPrimaryTypeBuilder { /* private fields */ }Expand description
A builder for CrossAccountPrimaryType.
Implementations§
Source§impl CrossAccountPrimaryTypeBuilder
impl CrossAccountPrimaryTypeBuilder
Sourcepub fn primary_secret_arn(self, input: impl Into<String>) -> Self
pub fn primary_secret_arn(self, input: impl Into<String>) -> Self
The ARN of the primary secret replicating into this replica secret.
Sourcepub fn set_primary_secret_arn(self, input: Option<String>) -> Self
pub fn set_primary_secret_arn(self, input: Option<String>) -> Self
The ARN of the primary secret replicating into this replica secret.
Sourcepub fn get_primary_secret_arn(&self) -> &Option<String>
pub fn get_primary_secret_arn(&self) -> &Option<String>
The ARN of the primary secret replicating into this replica secret.
Sourcepub fn replication_status(self, input: StatusType) -> Self
pub fn replication_status(self, input: StatusType) -> Self
The status of replication from the primary secret to this replica. The status can be:
-
InSync: Replication to the replica secret is complete. -
Failed: Replication to the replica secret was unable to be completed. -
InProgress: Replication to the replica secret has started but is not complete. -
Pending: Replication has not yet started for the replica secret. -
Detached: Replication to the replica secret was stopped by the primary.
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 the primary secret to this replica. The status can be:
-
InSync: Replication to the replica secret is complete. -
Failed: Replication to the replica secret was unable to be completed. -
InProgress: Replication to the replica secret has started but is not complete. -
Pending: Replication has not yet started for the replica secret. -
Detached: Replication to the replica secret was stopped by the primary.
Sourcepub fn get_replication_status(&self) -> &Option<StatusType>
pub fn get_replication_status(&self) -> &Option<StatusType>
The status of replication from the primary secret to this replica. The status can be:
-
InSync: Replication to the replica secret is complete. -
Failed: Replication to the replica secret was unable to be completed. -
InProgress: Replication to the replica secret has started but is not complete. -
Pending: Replication has not yet started for the replica secret. -
Detached: Replication to the replica secret was stopped by the primary.
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) -> CrossAccountPrimaryType
pub fn build(self) -> CrossAccountPrimaryType
Consumes the builder and constructs a CrossAccountPrimaryType.
Trait Implementations§
Source§impl Clone for CrossAccountPrimaryTypeBuilder
impl Clone for CrossAccountPrimaryTypeBuilder
Source§fn clone(&self) -> CrossAccountPrimaryTypeBuilder
fn clone(&self) -> CrossAccountPrimaryTypeBuilder
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 CrossAccountPrimaryTypeBuilder
impl Default for CrossAccountPrimaryTypeBuilder
Source§fn default() -> CrossAccountPrimaryTypeBuilder
fn default() -> CrossAccountPrimaryTypeBuilder
impl StructuralPartialEq for CrossAccountPrimaryTypeBuilder
Auto Trait Implementations§
impl Freeze for CrossAccountPrimaryTypeBuilder
impl RefUnwindSafe for CrossAccountPrimaryTypeBuilder
impl Send for CrossAccountPrimaryTypeBuilder
impl Sync for CrossAccountPrimaryTypeBuilder
impl Unpin for CrossAccountPrimaryTypeBuilder
impl UnsafeUnpin for CrossAccountPrimaryTypeBuilder
impl UnwindSafe for CrossAccountPrimaryTypeBuilder
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