Struct aws_sdk_secretsmanager::operation::remove_regions_from_replication::builders::RemoveRegionsFromReplicationInputBuilder
source · #[non_exhaustive]pub struct RemoveRegionsFromReplicationInputBuilder { /* private fields */ }
Expand description
A builder for RemoveRegionsFromReplicationInput
.
Implementations§
source§impl RemoveRegionsFromReplicationInputBuilder
impl RemoveRegionsFromReplicationInputBuilder
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 secret.
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 secret.
sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The ARN or name of the secret.
sourcepub fn remove_replica_regions(self, input: impl Into<String>) -> Self
pub fn remove_replica_regions(self, input: impl Into<String>) -> Self
Appends an item to remove_replica_regions
.
To override the contents of this collection use set_remove_replica_regions
.
The Regions of the replicas to remove.
sourcepub fn set_remove_replica_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_remove_replica_regions(self, input: Option<Vec<String>>) -> Self
The Regions of the replicas to remove.
sourcepub fn get_remove_replica_regions(&self) -> &Option<Vec<String>>
pub fn get_remove_replica_regions(&self) -> &Option<Vec<String>>
The Regions of the replicas to remove.
sourcepub fn build(self) -> Result<RemoveRegionsFromReplicationInput, BuildError>
pub fn build(self) -> Result<RemoveRegionsFromReplicationInput, BuildError>
Consumes the builder and constructs a RemoveRegionsFromReplicationInput
.
source§impl RemoveRegionsFromReplicationInputBuilder
impl RemoveRegionsFromReplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RemoveRegionsFromReplicationOutput, SdkError<RemoveRegionsFromReplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RemoveRegionsFromReplicationOutput, SdkError<RemoveRegionsFromReplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RemoveRegionsFromReplicationInputBuilder
impl Clone for RemoveRegionsFromReplicationInputBuilder
source§fn clone(&self) -> RemoveRegionsFromReplicationInputBuilder
fn clone(&self) -> RemoveRegionsFromReplicationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RemoveRegionsFromReplicationInputBuilder
impl Default for RemoveRegionsFromReplicationInputBuilder
source§fn default() -> RemoveRegionsFromReplicationInputBuilder
fn default() -> RemoveRegionsFromReplicationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RemoveRegionsFromReplicationInputBuilder
impl PartialEq for RemoveRegionsFromReplicationInputBuilder
source§fn eq(&self, other: &RemoveRegionsFromReplicationInputBuilder) -> bool
fn eq(&self, other: &RemoveRegionsFromReplicationInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RemoveRegionsFromReplicationInputBuilder
Auto Trait Implementations§
impl Freeze for RemoveRegionsFromReplicationInputBuilder
impl RefUnwindSafe for RemoveRegionsFromReplicationInputBuilder
impl Send for RemoveRegionsFromReplicationInputBuilder
impl Sync for RemoveRegionsFromReplicationInputBuilder
impl Unpin for RemoveRegionsFromReplicationInputBuilder
impl UnwindSafe for RemoveRegionsFromReplicationInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Creates a shared type from an unshared type.