Struct aws_sdk_rds::model::DbProxyTargetGroup
source · [−]#[non_exhaustive]pub struct DbProxyTargetGroup {
pub db_proxy_name: Option<String>,
pub target_group_name: Option<String>,
pub target_group_arn: Option<String>,
pub is_default: bool,
pub status: Option<String>,
pub connection_pool_config: Option<ConnectionPoolConfigurationInfo>,
pub created_date: Option<DateTime>,
pub updated_date: Option<DateTime>,
}Expand description
Represents a set of RDS DB instances, Aurora DB clusters, or both that a proxy can connect to. Currently, each target group is associated with exactly one RDS DB instance or Aurora DB cluster.
This data type is used as a response element in the DescribeDBProxyTargetGroups action.
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.db_proxy_name: Option<String>The identifier for the RDS proxy associated with this target group.
target_group_name: Option<String>The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.
target_group_arn: Option<String>The Amazon Resource Name (ARN) representing the target group.
is_default: boolWhether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.
status: Option<String>The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.
connection_pool_config: Option<ConnectionPoolConfigurationInfo>The settings that determine the size and behavior of the connection pool for the target group.
created_date: Option<DateTime>The date and time when the target group was first created.
updated_date: Option<DateTime>The date and time when the target group was last updated.
Implementations
sourceimpl DbProxyTargetGroup
impl DbProxyTargetGroup
sourcepub fn db_proxy_name(&self) -> Option<&str>
pub fn db_proxy_name(&self) -> Option<&str>
The identifier for the RDS proxy associated with this target group.
sourcepub fn target_group_name(&self) -> Option<&str>
pub fn target_group_name(&self) -> Option<&str>
The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.
sourcepub fn target_group_arn(&self) -> Option<&str>
pub fn target_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) representing the target group.
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.
sourcepub fn connection_pool_config(&self) -> Option<&ConnectionPoolConfigurationInfo>
pub fn connection_pool_config(&self) -> Option<&ConnectionPoolConfigurationInfo>
The settings that determine the size and behavior of the connection pool for the target group.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date and time when the target group was first created.
sourcepub fn updated_date(&self) -> Option<&DateTime>
pub fn updated_date(&self) -> Option<&DateTime>
The date and time when the target group was last updated.
sourceimpl DbProxyTargetGroup
impl DbProxyTargetGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DbProxyTargetGroup
Trait Implementations
sourceimpl Clone for DbProxyTargetGroup
impl Clone for DbProxyTargetGroup
sourcefn clone(&self) -> DbProxyTargetGroup
fn clone(&self) -> DbProxyTargetGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DbProxyTargetGroup
impl Debug for DbProxyTargetGroup
sourceimpl PartialEq<DbProxyTargetGroup> for DbProxyTargetGroup
impl PartialEq<DbProxyTargetGroup> for DbProxyTargetGroup
sourcefn eq(&self, other: &DbProxyTargetGroup) -> bool
fn eq(&self, other: &DbProxyTargetGroup) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DbProxyTargetGroup) -> bool
fn ne(&self, other: &DbProxyTargetGroup) -> bool
This method tests for !=.
impl StructuralPartialEq for DbProxyTargetGroup
Auto Trait Implementations
impl RefUnwindSafe for DbProxyTargetGroup
impl Send for DbProxyTargetGroup
impl Sync for DbProxyTargetGroup
impl Unpin for DbProxyTargetGroup
impl UnwindSafe for DbProxyTargetGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more