@Generated(value="software.amazon.awssdk:codegen") public final class DBProxy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBProxy.Builder,DBProxy>
The data structure representing a proxy managed by the RDS Proxy.
This data type is used as a response element in the DescribeDBProxies action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DBProxy.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<UserAuthConfigInfo> |
auth()
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance
or Aurora DB cluster.
|
static DBProxy.Builder |
builder() |
Instant |
createdDate()
The date and time when the proxy was first created.
|
String |
dbProxyArn()
The Amazon Resource Name (ARN) for the proxy.
|
String |
dbProxyName()
The identifier for the proxy.
|
Boolean |
debugLogging()
Whether the proxy includes detailed information about SQL statements in its logs.
|
String |
endpoint()
The endpoint that you can use to connect to the DB proxy.
|
String |
engineFamily()
The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAuth()
Returns true if the Auth property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasVpcSecurityGroupIds()
Returns true if the VpcSecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasVpcSubnetIds()
Returns true if the VpcSubnetIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
Integer |
idleClientTimeout()
The number of seconds a connection to the proxy can have no activity before the proxy drops the client
connection.
|
Boolean |
requireTLS()
Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
String |
roleArn()
The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBProxy.Builder> |
serializableBuilderClass() |
DBProxyStatus |
status()
The current status of this proxy.
|
String |
statusAsString()
The current status of this proxy.
|
DBProxy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedDate()
The date and time when the proxy was last updated.
|
String |
vpcId()
Provides the VPC ID of the DB proxy.
|
List<String> |
vpcSecurityGroupIds()
Provides a list of VPC security groups that the proxy belongs to.
|
List<String> |
vpcSubnetIds()
The EC2 subnet IDs for the proxy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbProxyName()
The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
public final String dbProxyArn()
The Amazon Resource Name (ARN) for the proxy.
public final DBProxyStatus status()
The current status of this proxy. A status of available means the proxy is ready to handle requests.
Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.
If the service returns an enum value that is not available in the current SDK version, status will
return DBProxyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
available means the proxy is ready to handle
requests. Other values indicate that you must wait for the proxy to be ready, or take some action to
resolve an issue.DBProxyStatuspublic final String statusAsString()
The current status of this proxy. A status of available means the proxy is ready to handle requests.
Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.
If the service returns an enum value that is not available in the current SDK version, status will
return DBProxyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
available means the proxy is ready to handle
requests. Other values indicate that you must wait for the proxy to be ready, or take some action to
resolve an issue.DBProxyStatuspublic final String engineFamily()
The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
public final String vpcId()
Provides the VPC ID of the DB proxy.
public final boolean hasVpcSecurityGroupIds()
public final List<String> vpcSecurityGroupIds()
Provides a list of VPC security groups that the proxy belongs to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVpcSecurityGroupIds() to see if a value was sent in this field.
public final boolean hasVpcSubnetIds()
public final List<String> vpcSubnetIds()
The EC2 subnet IDs for the proxy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVpcSubnetIds() to see if a value was sent in this field.
public final boolean hasAuth()
public final List<UserAuthConfigInfo> auth()
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAuth() to see if a value was sent in this field.
public final String roleArn()
The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.
public final String endpoint()
The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.
public final Boolean requireTLS()
Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
public final Integer idleClientTimeout()
The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.
Default: 1800 (30 minutes)
Constraints: 1 to 28,800
Default: 1800 (30 minutes)
Constraints: 1 to 28,800
public final Boolean debugLogging()
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
public final Instant createdDate()
The date and time when the proxy was first created.
public final Instant updatedDate()
The date and time when the proxy was last updated.
public DBProxy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DBProxy.Builder,DBProxy>public static DBProxy.Builder builder()
public static Class<? extends DBProxy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.