Struct aws_sdk_rds::operation::copy_db_parameter_group::builders::CopyDBParameterGroupFluentBuilder
source · pub struct CopyDBParameterGroupFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CopyDBParameterGroup.
Copies the specified DB parameter group.
You can't copy a default DB parameter group. Instead, create a new custom DB parameter group, which copies the default parameters and values for the specified DB parameter group family.
Implementations§
source§impl CopyDBParameterGroupFluentBuilder
impl CopyDBParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &CopyDbParameterGroupInputBuilder
pub fn as_input(&self) -> &CopyDbParameterGroupInputBuilder
Access the CopyDBParameterGroup as a reference.
sourcepub async fn send(
self,
) -> Result<CopyDbParameterGroupOutput, SdkError<CopyDBParameterGroupError, HttpResponse>>
pub async fn send( self, ) -> Result<CopyDbParameterGroupOutput, SdkError<CopyDBParameterGroupError, 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<CopyDbParameterGroupOutput, CopyDBParameterGroupError, Self>
pub fn customize( self, ) -> CustomizableOperation<CopyDbParameterGroupOutput, CopyDBParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_source_db_parameter_group_identifier(&self) -> &Option<String>
pub fn get_source_db_parameter_group_identifier(&self) -> &Option<String>
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 get_target_db_parameter_group_identifier(&self) -> &Option<String>
pub fn get_target_db_parameter_group_identifier(&self) -> &Option<String>
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.
sourcepub fn get_target_db_parameter_group_description(&self) -> &Option<String>
pub fn get_target_db_parameter_group_description(&self) -> &Option<String>
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.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
Trait Implementations§
source§impl Clone for CopyDBParameterGroupFluentBuilder
impl Clone for CopyDBParameterGroupFluentBuilder
source§fn clone(&self) -> CopyDBParameterGroupFluentBuilder
fn clone(&self) -> CopyDBParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CopyDBParameterGroupFluentBuilder
impl !RefUnwindSafe for CopyDBParameterGroupFluentBuilder
impl Send for CopyDBParameterGroupFluentBuilder
impl Sync for CopyDBParameterGroupFluentBuilder
impl Unpin for CopyDBParameterGroupFluentBuilder
impl !UnwindSafe for CopyDBParameterGroupFluentBuilder
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)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