Struct aws_sdk_rds::input::copy_db_parameter_group_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CopyDbParameterGroupInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn source_db_parameter_group_identifier(
self,
input: impl Into<String>
) -> Self
pub fn source_db_parameter_group_identifier(
self,
input: impl Into<String>
) -> Self
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
-
Must specify a valid DB parameter group.
sourcepub fn set_source_db_parameter_group_identifier(
self,
input: Option<String>
) -> Self
pub fn set_source_db_parameter_group_identifier(
self,
input: Option<String>
) -> Self
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
-
Must specify a valid DB parameter group.
sourcepub fn target_db_parameter_group_identifier(
self,
input: impl Into<String>
) -> Self
pub fn target_db_parameter_group_identifier(
self,
input: impl Into<String>
) -> Self
The identifier for the copied DB 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-db-parameter-group
sourcepub fn set_target_db_parameter_group_identifier(
self,
input: Option<String>
) -> Self
pub fn set_target_db_parameter_group_identifier(
self,
input: Option<String>
) -> Self
The identifier for the copied DB 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-db-parameter-group
sourcepub fn target_db_parameter_group_description(
self,
input: impl Into<String>
) -> Self
pub fn target_db_parameter_group_description(
self,
input: impl Into<String>
) -> Self
A description for the copied DB parameter group.
sourcepub fn set_target_db_parameter_group_description(
self,
input: Option<String>
) -> Self
pub fn set_target_db_parameter_group_description(
self,
input: Option<String>
) -> Self
A description for the copied DB 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.
sourcepub fn build(self) -> Result<CopyDbParameterGroupInput, BuildError>
pub fn build(self) -> Result<CopyDbParameterGroupInput, BuildError>
Consumes the builder and constructs a CopyDbParameterGroupInput.