Class DBProxyTargetGroup
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.DBProxyTargetGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>
@Generated("software.amazon.awssdk:codegen") public final class DBProxyTargetGroup extends Object implements SdkPojo, Serializable, 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
DescribeDBProxyTargetGroupsaction.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDBProxyTargetGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBProxyTargetGroup.Builderbuilder()ConnectionPoolConfigurationInfoconnectionPoolConfig()The settings that determine the size and behavior of the connection pool for the target group.InstantcreatedDate()The date and time when the target group was first created.StringdbProxyName()The identifier for the RDS proxy associated with this target group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisDefault()Indicates whether this target group is the first one used for connection requests by the associated proxy.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DBProxyTargetGroup.Builder>serializableBuilderClass()Stringstatus()The current status of this target group.StringtargetGroupArn()The Amazon Resource Name (ARN) representing the target group.StringtargetGroupName()The identifier for the target group.DBProxyTargetGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedDate()The date and time when the target group was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dbProxyName
public final String 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
public final String 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
public final String targetGroupArn()
The Amazon Resource Name (ARN) representing the target group.
- Returns:
- The Amazon Resource Name (ARN) representing the target group.
-
isDefault
public final Boolean 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
public final String status()
The current status of this target group. A status of
availablemeans 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
availablemeans 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
public final ConnectionPoolConfigurationInfo 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
public final Instant 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
public final Instant 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
public DBProxyTargetGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DBProxyTargetGroup.Builder,DBProxyTargetGroup>
-
builder
public static DBProxyTargetGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends DBProxyTargetGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-