#[non_exhaustive]pub struct DisassociateCrossAccountReplicaInputBuilder { /* private fields */ }Expand description
A builder for DisassociateCrossAccountReplicaInput.
Implementations§
Source§impl DisassociateCrossAccountReplicaInputBuilder
impl DisassociateCrossAccountReplicaInputBuilder
Sourcepub fn secret_id(self, input: impl Into<String>) -> Self
pub fn secret_id(self, input: impl Into<String>) -> Self
The ARN or name of the primary secret in your account.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
This field is required.Sourcepub fn set_secret_id(self, input: Option<String>) -> Self
pub fn set_secret_id(self, input: Option<String>) -> Self
The ARN or name of the primary secret in your account.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The ARN or name of the primary secret in your account.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Sourcepub fn cross_account_replica_arn(self, input: impl Into<String>) -> Self
pub fn cross_account_replica_arn(self, input: impl Into<String>) -> Self
The ARN of the cross-account replica secret to unlink from the primary secret.
This field is required.Sourcepub fn set_cross_account_replica_arn(self, input: Option<String>) -> Self
pub fn set_cross_account_replica_arn(self, input: Option<String>) -> Self
The ARN of the cross-account replica secret to unlink from the primary secret.
Sourcepub fn get_cross_account_replica_arn(&self) -> &Option<String>
pub fn get_cross_account_replica_arn(&self) -> &Option<String>
The ARN of the cross-account replica secret to unlink from the primary secret.
Sourcepub fn build(self) -> Result<DisassociateCrossAccountReplicaInput, BuildError>
pub fn build(self) -> Result<DisassociateCrossAccountReplicaInput, BuildError>
Consumes the builder and constructs a DisassociateCrossAccountReplicaInput.
Source§impl DisassociateCrossAccountReplicaInputBuilder
impl DisassociateCrossAccountReplicaInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DisassociateCrossAccountReplicaOutput, SdkError<DisassociateCrossAccountReplicaError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DisassociateCrossAccountReplicaOutput, SdkError<DisassociateCrossAccountReplicaError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for DisassociateCrossAccountReplicaInputBuilder
impl Clone for DisassociateCrossAccountReplicaInputBuilder
Source§fn clone(&self) -> DisassociateCrossAccountReplicaInputBuilder
fn clone(&self) -> DisassociateCrossAccountReplicaInputBuilder
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 DisassociateCrossAccountReplicaInputBuilder
impl Default for DisassociateCrossAccountReplicaInputBuilder
Source§fn default() -> DisassociateCrossAccountReplicaInputBuilder
fn default() -> DisassociateCrossAccountReplicaInputBuilder
impl StructuralPartialEq for DisassociateCrossAccountReplicaInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateCrossAccountReplicaInputBuilder
impl RefUnwindSafe for DisassociateCrossAccountReplicaInputBuilder
impl Send for DisassociateCrossAccountReplicaInputBuilder
impl Sync for DisassociateCrossAccountReplicaInputBuilder
impl Unpin for DisassociateCrossAccountReplicaInputBuilder
impl UnsafeUnpin for DisassociateCrossAccountReplicaInputBuilder
impl UnwindSafe for DisassociateCrossAccountReplicaInputBuilder
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