public static interface DBProxy.Builder extends SdkPojo, CopyableBuilder<DBProxy.Builder,DBProxy>
Modifier and Type | Method and Description |
---|---|
DBProxy.Builder |
auth(Collection<UserAuthConfigInfo> auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB
instance or Aurora DB cluster.
|
DBProxy.Builder |
auth(Consumer<UserAuthConfigInfo.Builder>... auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB
instance or Aurora DB cluster.
|
DBProxy.Builder |
auth(UserAuthConfigInfo... auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB
instance or Aurora DB cluster.
|
DBProxy.Builder |
createdDate(Instant createdDate)
The date and time when the proxy was first created.
|
DBProxy.Builder |
dbProxyArn(String dbProxyArn)
The Amazon Resource Name (ARN) for the proxy.
|
DBProxy.Builder |
dbProxyName(String dbProxyName)
The identifier for the proxy.
|
DBProxy.Builder |
debugLogging(Boolean debugLogging)
Whether the proxy includes detailed information about SQL statements in its logs.
|
DBProxy.Builder |
endpoint(String endpoint)
The endpoint that you can use to connect to the DB proxy.
|
DBProxy.Builder |
engineFamily(String engineFamily)
The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
|
DBProxy.Builder |
idleClientTimeout(Integer idleClientTimeout)
The number of seconds a connection to the proxy can have no activity before the proxy drops the client
connection.
|
DBProxy.Builder |
requireTLS(Boolean requireTLS)
Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
DBProxy.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.
|
DBProxy.Builder |
status(DBProxyStatus status)
The current status of this proxy.
|
DBProxy.Builder |
status(String status)
The current status of this proxy.
|
DBProxy.Builder |
updatedDate(Instant updatedDate)
The date and time when the proxy was last updated.
|
DBProxy.Builder |
vpcId(String vpcId)
Provides the VPC ID of the DB proxy.
|
DBProxy.Builder |
vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Provides a list of VPC security groups that the proxy belongs to.
|
DBProxy.Builder |
vpcSecurityGroupIds(String... vpcSecurityGroupIds)
Provides a list of VPC security groups that the proxy belongs to.
|
DBProxy.Builder |
vpcSubnetIds(Collection<String> vpcSubnetIds)
The EC2 subnet IDs for the proxy.
|
DBProxy.Builder |
vpcSubnetIds(String... vpcSubnetIds)
The EC2 subnet IDs for the proxy.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DBProxy.Builder dbProxyName(String dbProxyName)
The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.
dbProxyName
- The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web
Services account in the specified Amazon Web Services Region.DBProxy.Builder dbProxyArn(String dbProxyArn)
The Amazon Resource Name (ARN) for the proxy.
dbProxyArn
- The Amazon Resource Name (ARN) for the proxy.DBProxy.Builder status(String 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.
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.DBProxyStatus
,
DBProxyStatus
DBProxy.Builder status(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.
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.DBProxyStatus
,
DBProxyStatus
DBProxy.Builder engineFamily(String engineFamily)
The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
engineFamily
- The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.DBProxy.Builder vpcId(String vpcId)
Provides the VPC ID of the DB proxy.
vpcId
- Provides the VPC ID of the DB proxy.DBProxy.Builder vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Provides a list of VPC security groups that the proxy belongs to.
vpcSecurityGroupIds
- Provides a list of VPC security groups that the proxy belongs to.DBProxy.Builder vpcSecurityGroupIds(String... vpcSecurityGroupIds)
Provides a list of VPC security groups that the proxy belongs to.
vpcSecurityGroupIds
- Provides a list of VPC security groups that the proxy belongs to.DBProxy.Builder vpcSubnetIds(Collection<String> vpcSubnetIds)
The EC2 subnet IDs for the proxy.
vpcSubnetIds
- The EC2 subnet IDs for the proxy.DBProxy.Builder vpcSubnetIds(String... vpcSubnetIds)
The EC2 subnet IDs for the proxy.
vpcSubnetIds
- The EC2 subnet IDs for the proxy.DBProxy.Builder auth(Collection<UserAuthConfigInfo> auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.
auth
- One or more data structures specifying the authorization mechanism to connect to the associated RDS DB
instance or Aurora DB cluster.DBProxy.Builder auth(UserAuthConfigInfo... auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.
auth
- One or more data structures specifying the authorization mechanism to connect to the associated RDS DB
instance or Aurora DB cluster.DBProxy.Builder auth(Consumer<UserAuthConfigInfo.Builder>... auth)
One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #auth(List)
.auth
- a consumer that will call methods on List.Builder
#auth(List)
DBProxy.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.
roleArn
- The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.DBProxy.Builder endpoint(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.
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.DBProxy.Builder requireTLS(Boolean requireTLS)
Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
requireTLS
- Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.DBProxy.Builder idleClientTimeout(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
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
DBProxy.Builder debugLogging(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.
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.DBProxy.Builder createdDate(Instant createdDate)
The date and time when the proxy was first created.
createdDate
- The date and time when the proxy was first created.DBProxy.Builder updatedDate(Instant updatedDate)
The date and time when the proxy was last updated.
updatedDate
- The date and time when the proxy was last updated.Copyright © 2021. All rights reserved.