Struct aws_sdk_docdb::operation::copy_db_cluster_parameter_group::builders::CopyDBClusterParameterGroupFluentBuilder
source · pub struct CopyDBClusterParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CopyDBClusterParameterGroup
.
Copies the specified cluster parameter group.
Implementations§
source§impl CopyDBClusterParameterGroupFluentBuilder
impl CopyDBClusterParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &CopyDbClusterParameterGroupInputBuilder
pub fn as_input(&self) -> &CopyDbClusterParameterGroupInputBuilder
Access the CopyDBClusterParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<CopyDbClusterParameterGroupOutput, SdkError<CopyDBClusterParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CopyDbClusterParameterGroupOutput, SdkError<CopyDBClusterParameterGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CopyDbClusterParameterGroupOutput, CopyDBClusterParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<CopyDbClusterParameterGroupOutput, CopyDBClusterParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 cluster parameter group.
Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group
, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-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 cluster parameter group.
Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group
, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-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 cluster parameter group.
Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group
, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-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 cluster parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot 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 cluster parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot 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 cluster parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot 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 cluster parameter group.
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 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 cluster parameter group.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags that are to be assigned to the parameter group.
The tags that are to be assigned to the parameter group.
The tags that are to be assigned to the parameter group.
Trait Implementations§
source§impl Clone for CopyDBClusterParameterGroupFluentBuilder
impl Clone for CopyDBClusterParameterGroupFluentBuilder
source§fn clone(&self) -> CopyDBClusterParameterGroupFluentBuilder
fn clone(&self) -> CopyDBClusterParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more