Struct aws_sdk_rds::operation::copy_db_cluster_parameter_group::builders::CopyDbClusterParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CopyDbClusterParameterGroupInputBuilder { /* private fields */ }Expand description
A builder for CopyDbClusterParameterGroupInput.
Implementations§
source§impl CopyDbClusterParameterGroupInputBuilder
impl CopyDbClusterParameterGroupInputBuilder
sourcepub fn source_db_cluster_parameter_group_identifier(
self,
input: impl Into<String>,
) -> Self
pub fn source_db_cluster_parameter_group_identifier( self, input: impl Into<String>, ) -> Self
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.
Constraints:
-
Must specify a valid DB cluster parameter group.
sourcepub fn set_source_db_cluster_parameter_group_identifier(
self,
input: Option<String>,
) -> Self
pub fn set_source_db_cluster_parameter_group_identifier( self, input: Option<String>, ) -> Self
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.
Constraints:
-
Must specify a valid DB cluster parameter group.
sourcepub fn get_source_db_cluster_parameter_group_identifier(
&self,
) -> &Option<String>
pub fn get_source_db_cluster_parameter_group_identifier( &self, ) -> &Option<String>
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.
Constraints:
-
Must specify a valid DB cluster parameter group.
sourcepub fn target_db_cluster_parameter_group_identifier(
self,
input: impl Into<String>,
) -> Self
pub fn target_db_cluster_parameter_group_identifier( self, input: impl Into<String>, ) -> Self
The identifier for the copied DB cluster parameter group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
sourcepub fn set_target_db_cluster_parameter_group_identifier(
self,
input: Option<String>,
) -> Self
pub fn set_target_db_cluster_parameter_group_identifier( self, input: Option<String>, ) -> Self
The identifier for the copied DB cluster parameter group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
sourcepub fn get_target_db_cluster_parameter_group_identifier(
&self,
) -> &Option<String>
pub fn get_target_db_cluster_parameter_group_identifier( &self, ) -> &Option<String>
The identifier for the copied DB cluster parameter group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
sourcepub fn target_db_cluster_parameter_group_description(
self,
input: impl Into<String>,
) -> Self
pub fn target_db_cluster_parameter_group_description( self, input: impl Into<String>, ) -> Self
A description for the copied DB cluster parameter group.
This field is required.sourcepub fn set_target_db_cluster_parameter_group_description(
self,
input: Option<String>,
) -> Self
pub fn set_target_db_cluster_parameter_group_description( self, input: Option<String>, ) -> Self
A description for the copied DB cluster parameter group.
sourcepub fn get_target_db_cluster_parameter_group_description(
&self,
) -> &Option<String>
pub fn get_target_db_cluster_parameter_group_description( &self, ) -> &Option<String>
A description for the copied DB cluster parameter group.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
sourcepub fn build(self) -> Result<CopyDbClusterParameterGroupInput, BuildError>
pub fn build(self) -> Result<CopyDbClusterParameterGroupInput, BuildError>
Consumes the builder and constructs a CopyDbClusterParameterGroupInput.
source§impl CopyDbClusterParameterGroupInputBuilder
impl CopyDbClusterParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CopyDbClusterParameterGroupOutput, SdkError<CopyDBClusterParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CopyDbClusterParameterGroupOutput, SdkError<CopyDBClusterParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CopyDbClusterParameterGroupInputBuilder
impl Clone for CopyDbClusterParameterGroupInputBuilder
source§fn clone(&self) -> CopyDbClusterParameterGroupInputBuilder
fn clone(&self) -> CopyDbClusterParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CopyDbClusterParameterGroupInputBuilder
impl Default for CopyDbClusterParameterGroupInputBuilder
source§fn default() -> CopyDbClusterParameterGroupInputBuilder
fn default() -> CopyDbClusterParameterGroupInputBuilder
source§impl PartialEq for CopyDbClusterParameterGroupInputBuilder
impl PartialEq for CopyDbClusterParameterGroupInputBuilder
source§fn eq(&self, other: &CopyDbClusterParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CopyDbClusterParameterGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CopyDbClusterParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CopyDbClusterParameterGroupInputBuilder
impl RefUnwindSafe for CopyDbClusterParameterGroupInputBuilder
impl Send for CopyDbClusterParameterGroupInputBuilder
impl Sync for CopyDbClusterParameterGroupInputBuilder
impl Unpin for CopyDbClusterParameterGroupInputBuilder
impl UnwindSafe for CopyDbClusterParameterGroupInputBuilder
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> 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