Class DBProxyTargetGroup
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DBProxyTargetGroup.Builder,
DBProxyTargetGroup>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DBProxyTargetGroup.Builder
builder()
The settings that determine the size and behavior of the connection pool for the target group.final Instant
The date and time when the target group was first created.final String
The identifier for the RDS proxy associated with this target group.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Boolean
Indicates whether this target group is the first one used for connection requests by the associated proxy.static Class
<? extends DBProxyTargetGroup.Builder> final String
status()
The current status of this target group.final String
The Amazon Resource Name (ARN) representing the target group.final String
The identifier for the target group.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
The date and time when the target group was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dbProxyName
The identifier for the RDS proxy associated with this target group.
- Returns:
- The identifier for the RDS proxy associated with this target group.
-
targetGroupName
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.
- Returns:
- 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.
-
targetGroupArn
The Amazon Resource Name (ARN) representing the target group.
- Returns:
- The Amazon Resource Name (ARN) representing the target group.
-
isDefault
Indicates 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
.- Returns:
- Indicates 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
.
-
status
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.- Returns:
- 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.
-
connectionPoolConfig
The settings that determine the size and behavior of the connection pool for the target group.
- Returns:
- The settings that determine the size and behavior of the connection pool for the target group.
-
createdDate
The date and time when the target group was first created.
- Returns:
- The date and time when the target group was first created.
-
updatedDate
The date and time when the target group was last updated.
- Returns:
- The date and time when the target group was last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DBProxyTargetGroup.Builder,
DBProxyTargetGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-