Struct aws_sdk_rds::client::fluent_builders::RegisterDBProxyTargets
source · [−]pub struct RegisterDBProxyTargets { /* private fields */ }Expand description
Fluent builder constructing a request to RegisterDBProxyTargets.
Associate one or more DBProxyTarget data structures with a DBProxyTargetGroup.
Implementations
sourceimpl RegisterDBProxyTargets
impl RegisterDBProxyTargets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RegisterDBProxyTargets, AwsResponseRetryClassifier>, SdkError<RegisterDBProxyTargetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RegisterDBProxyTargets, AwsResponseRetryClassifier>, SdkError<RegisterDBProxyTargetsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<RegisterDbProxyTargetsOutput, SdkError<RegisterDBProxyTargetsError>>
pub async fn send(
self
) -> Result<RegisterDbProxyTargetsOutput, SdkError<RegisterDBProxyTargetsError>>
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 db_proxy_name(self, input: impl Into<String>) -> Self
pub fn db_proxy_name(self, input: impl Into<String>) -> Self
The identifier of the DBProxy that is associated with the DBProxyTargetGroup.
sourcepub fn set_db_proxy_name(self, input: Option<String>) -> Self
pub fn set_db_proxy_name(self, input: Option<String>) -> Self
The identifier of the DBProxy that is associated with the DBProxyTargetGroup.
sourcepub fn target_group_name(self, input: impl Into<String>) -> Self
pub fn target_group_name(self, input: impl Into<String>) -> Self
The identifier of the DBProxyTargetGroup.
sourcepub fn set_target_group_name(self, input: Option<String>) -> Self
pub fn set_target_group_name(self, input: Option<String>) -> Self
The identifier of the DBProxyTargetGroup.
sourcepub fn db_instance_identifiers(self, input: impl Into<String>) -> Self
pub fn db_instance_identifiers(self, input: impl Into<String>) -> Self
Appends an item to DBInstanceIdentifiers.
To override the contents of this collection use set_db_instance_identifiers.
One or more DB instance identifiers.
sourcepub fn set_db_instance_identifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_db_instance_identifiers(self, input: Option<Vec<String>>) -> Self
One or more DB instance identifiers.
sourcepub fn db_cluster_identifiers(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifiers(self, input: impl Into<String>) -> Self
Appends an item to DBClusterIdentifiers.
To override the contents of this collection use set_db_cluster_identifiers.
One or more DB cluster identifiers.
sourcepub fn set_db_cluster_identifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_db_cluster_identifiers(self, input: Option<Vec<String>>) -> Self
One or more DB cluster identifiers.
Trait Implementations
sourceimpl Clone for RegisterDBProxyTargets
impl Clone for RegisterDBProxyTargets
sourcefn clone(&self) -> RegisterDBProxyTargets
fn clone(&self) -> RegisterDBProxyTargets
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more