Struct aws_sdk_secretsmanager::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsInputBuilder
source · #[non_exhaustive]pub struct ReplicateSecretToRegionsInputBuilder { /* private fields */ }
Expand description
A builder for ReplicateSecretToRegionsInput
.
Implementations§
source§impl ReplicateSecretToRegionsInputBuilder
impl ReplicateSecretToRegionsInputBuilder
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 to replicate.
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 to replicate.
sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The ARN or name of the secret to replicate.
sourcepub fn add_replica_regions(self, input: ReplicaRegionType) -> Self
pub fn add_replica_regions(self, input: ReplicaRegionType) -> Self
Appends an item to add_replica_regions
.
To override the contents of this collection use set_add_replica_regions
.
A list of Regions in which to replicate the secret.
sourcepub fn set_add_replica_regions(
self,
input: Option<Vec<ReplicaRegionType>>,
) -> Self
pub fn set_add_replica_regions( self, input: Option<Vec<ReplicaRegionType>>, ) -> Self
A list of Regions in which to replicate the secret.
sourcepub fn get_add_replica_regions(&self) -> &Option<Vec<ReplicaRegionType>>
pub fn get_add_replica_regions(&self) -> &Option<Vec<ReplicaRegionType>>
A list of Regions in which to replicate the secret.
sourcepub fn force_overwrite_replica_secret(self, input: bool) -> Self
pub fn force_overwrite_replica_secret(self, input: bool) -> Self
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
sourcepub fn set_force_overwrite_replica_secret(self, input: Option<bool>) -> Self
pub fn set_force_overwrite_replica_secret(self, input: Option<bool>) -> Self
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
sourcepub fn get_force_overwrite_replica_secret(&self) -> &Option<bool>
pub fn get_force_overwrite_replica_secret(&self) -> &Option<bool>
Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
sourcepub fn build(self) -> Result<ReplicateSecretToRegionsInput, BuildError>
pub fn build(self) -> Result<ReplicateSecretToRegionsInput, BuildError>
Consumes the builder and constructs a ReplicateSecretToRegionsInput
.
source§impl ReplicateSecretToRegionsInputBuilder
impl ReplicateSecretToRegionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ReplicateSecretToRegionsOutput, SdkError<ReplicateSecretToRegionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ReplicateSecretToRegionsOutput, SdkError<ReplicateSecretToRegionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReplicateSecretToRegionsInputBuilder
impl Clone for ReplicateSecretToRegionsInputBuilder
source§fn clone(&self) -> ReplicateSecretToRegionsInputBuilder
fn clone(&self) -> ReplicateSecretToRegionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicateSecretToRegionsInputBuilder
impl Default for ReplicateSecretToRegionsInputBuilder
source§fn default() -> ReplicateSecretToRegionsInputBuilder
fn default() -> ReplicateSecretToRegionsInputBuilder
source§impl PartialEq for ReplicateSecretToRegionsInputBuilder
impl PartialEq for ReplicateSecretToRegionsInputBuilder
source§fn eq(&self, other: &ReplicateSecretToRegionsInputBuilder) -> bool
fn eq(&self, other: &ReplicateSecretToRegionsInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReplicateSecretToRegionsInputBuilder
Auto Trait Implementations§
impl Freeze for ReplicateSecretToRegionsInputBuilder
impl RefUnwindSafe for ReplicateSecretToRegionsInputBuilder
impl Send for ReplicateSecretToRegionsInputBuilder
impl Sync for ReplicateSecretToRegionsInputBuilder
impl Unpin for ReplicateSecretToRegionsInputBuilder
impl UnwindSafe for ReplicateSecretToRegionsInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)