Struct aws_sdk_docdb::operation::copy_db_cluster_parameter_group::CopyDbClusterParameterGroupInput
source · #[non_exhaustive]pub struct CopyDbClusterParameterGroupInput {
pub source_db_cluster_parameter_group_identifier: Option<String>,
pub target_db_cluster_parameter_group_identifier: Option<String>,
pub target_db_cluster_parameter_group_description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input to CopyDBClusterParameterGroup
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_db_cluster_parameter_group_identifier: 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
.
target_db_cluster_parameter_group_identifier: 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
target_db_cluster_parameter_group_description: Option<String>
A description for the copied cluster parameter group.
The tags that are to be assigned to the parameter group.
Implementations§
source§impl CopyDbClusterParameterGroupInput
impl CopyDbClusterParameterGroupInput
sourcepub fn source_db_cluster_parameter_group_identifier(&self) -> Option<&str>
pub fn source_db_cluster_parameter_group_identifier(&self) -> Option<&str>
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) -> Option<&str>
pub fn target_db_cluster_parameter_group_identifier(&self) -> Option<&str>
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) -> Option<&str>
pub fn target_db_cluster_parameter_group_description(&self) -> Option<&str>
A description for the copied cluster parameter group.
The tags that are to be assigned to the parameter group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CopyDbClusterParameterGroupInput
impl CopyDbClusterParameterGroupInput
sourcepub fn builder() -> CopyDbClusterParameterGroupInputBuilder
pub fn builder() -> CopyDbClusterParameterGroupInputBuilder
Creates a new builder-style object to manufacture CopyDbClusterParameterGroupInput
.
Trait Implementations§
source§impl Clone for CopyDbClusterParameterGroupInput
impl Clone for CopyDbClusterParameterGroupInput
source§fn clone(&self) -> CopyDbClusterParameterGroupInput
fn clone(&self) -> CopyDbClusterParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CopyDbClusterParameterGroupInput
impl PartialEq for CopyDbClusterParameterGroupInput
source§fn eq(&self, other: &CopyDbClusterParameterGroupInput) -> bool
fn eq(&self, other: &CopyDbClusterParameterGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.