@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBProxyTargetGroup extends Object implements Serializable, Cloneable
This is prerelease documentation for the RDS Database Proxy feature in preview release. It is subject to change.
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.
Constructor and Description |
---|
DBProxyTargetGroup() |
Modifier and Type | Method and Description |
---|---|
DBProxyTargetGroup |
clone() |
boolean |
equals(Object obj) |
ConnectionPoolConfigurationInfo |
getConnectionPoolConfig()
The settings that determine the size and behavior of the connection pool for the target group.
|
Date |
getCreatedDate()
The date and time when the target group was first created.
|
String |
getDBProxyName()
The identifier for the RDS proxy associated with this target group.
|
Boolean |
getIsDefault()
Whether this target group is the first one used for connection requests by the associated proxy.
|
String |
getStatus()
The current status of this target group.
|
String |
getTargetGroupArn()
The Amazon Resource Name (ARN) representing the target group.
|
String |
getTargetGroupName()
The identifier for the target group.
|
Date |
getUpdatedDate()
The date and time when the target group was last updated.
|
int |
hashCode() |
Boolean |
isDefault()
Whether this target group is the first one used for connection requests by the associated proxy.
|
void |
setConnectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
|
void |
setCreatedDate(Date createdDate)
The date and time when the target group was first created.
|
void |
setDBProxyName(String dBProxyName)
The identifier for the RDS proxy associated with this target group.
|
void |
setIsDefault(Boolean isDefault)
Whether this target group is the first one used for connection requests by the associated proxy.
|
void |
setStatus(String status)
The current status of this target group.
|
void |
setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
|
void |
setTargetGroupName(String targetGroupName)
The identifier for the target group.
|
void |
setUpdatedDate(Date updatedDate)
The date and time when the target group was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DBProxyTargetGroup |
withConnectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
|
DBProxyTargetGroup |
withCreatedDate(Date createdDate)
The date and time when the target group was first created.
|
DBProxyTargetGroup |
withDBProxyName(String dBProxyName)
The identifier for the RDS proxy associated with this target group.
|
DBProxyTargetGroup |
withIsDefault(Boolean isDefault)
Whether this target group is the first one used for connection requests by the associated proxy.
|
DBProxyTargetGroup |
withStatus(String status)
The current status of this target group.
|
DBProxyTargetGroup |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
|
DBProxyTargetGroup |
withTargetGroupName(String targetGroupName)
The identifier for the target group.
|
DBProxyTargetGroup |
withUpdatedDate(Date updatedDate)
The date and time when the target group was last updated.
|
public void setDBProxyName(String dBProxyName)
The identifier for the RDS proxy associated with this target group.
dBProxyName
- The identifier for the RDS proxy associated with this target group.public String getDBProxyName()
The identifier for the RDS proxy associated with this target group.
public DBProxyTargetGroup withDBProxyName(String dBProxyName)
The identifier for the RDS proxy associated with this target group.
dBProxyName
- The identifier for the RDS proxy associated with this target group.public void setTargetGroupName(String targetGroupName)
The identifier for the target group. This name must be unique for all target groups owned by your AWS account in the specified AWS Region.
targetGroupName
- The identifier for the target group. This name must be unique for all target groups owned by your AWS
account in the specified AWS Region.public String getTargetGroupName()
The identifier for the target group. This name must be unique for all target groups owned by your AWS account in the specified AWS Region.
public DBProxyTargetGroup withTargetGroupName(String targetGroupName)
The identifier for the target group. This name must be unique for all target groups owned by your AWS account in the specified AWS Region.
targetGroupName
- The identifier for the target group. This name must be unique for all target groups owned by your AWS
account in the specified AWS Region.public void setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
targetGroupArn
- The Amazon Resource Name (ARN) representing the target group.public String getTargetGroupArn()
The Amazon Resource Name (ARN) representing the target group.
public DBProxyTargetGroup withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) representing the target group.
targetGroupArn
- The Amazon Resource Name (ARN) representing the target group.public void setIsDefault(Boolean isDefault)
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
.
isDefault
- 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
.public Boolean getIsDefault()
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
.
true
.public DBProxyTargetGroup withIsDefault(Boolean isDefault)
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
.
isDefault
- 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
.public Boolean isDefault()
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
.
true
.public void setStatus(String 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.
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.public String getStatus()
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.
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.public DBProxyTargetGroup withStatus(String 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.
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.public void setConnectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
connectionPoolConfig
- The settings that determine the size and behavior of the connection pool for the target group.public ConnectionPoolConfigurationInfo getConnectionPoolConfig()
The settings that determine the size and behavior of the connection pool for the target group.
public DBProxyTargetGroup withConnectionPoolConfig(ConnectionPoolConfigurationInfo connectionPoolConfig)
The settings that determine the size and behavior of the connection pool for the target group.
connectionPoolConfig
- The settings that determine the size and behavior of the connection pool for the target group.public void setCreatedDate(Date createdDate)
The date and time when the target group was first created.
createdDate
- The date and time when the target group was first created.public Date getCreatedDate()
The date and time when the target group was first created.
public DBProxyTargetGroup withCreatedDate(Date createdDate)
The date and time when the target group was first created.
createdDate
- The date and time when the target group was first created.public void setUpdatedDate(Date updatedDate)
The date and time when the target group was last updated.
updatedDate
- The date and time when the target group was last updated.public Date getUpdatedDate()
The date and time when the target group was last updated.
public DBProxyTargetGroup withUpdatedDate(Date updatedDate)
The date and time when the target group was last updated.
updatedDate
- The date and time when the target group was last updated.public String toString()
toString
in class Object
Object.toString()
public DBProxyTargetGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.