public static interface CreateDbProxyRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateDbProxyRequest.Builder,CreateDbProxyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDbProxyRequest.Builder |
auth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
|
CreateDbProxyRequest.Builder |
auth(Consumer<UserAuthConfig.Builder>... auth)
The authorization mechanism that the proxy uses.
|
CreateDbProxyRequest.Builder |
auth(UserAuthConfig... auth)
The authorization mechanism that the proxy uses.
|
CreateDbProxyRequest.Builder |
dbProxyName(String dbProxyName)
The identifier for the proxy.
|
CreateDbProxyRequest.Builder |
debugLogging(Boolean debugLogging)
Whether the proxy includes detailed information about SQL statements in its logs.
|
CreateDbProxyRequest.Builder |
engineFamily(EngineFamily engineFamily)
The kinds of databases that the proxy can connect to.
|
CreateDbProxyRequest.Builder |
engineFamily(String engineFamily)
The kinds of databases that the proxy can connect to.
|
CreateDbProxyRequest.Builder |
idleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
CreateDbProxyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDbProxyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDbProxyRequest.Builder |
requireTLS(Boolean requireTLS)
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for
connections to the proxy.
|
CreateDbProxyRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services
Secrets Manager.
|
CreateDbProxyRequest.Builder |
tags(Collection<Tag> tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
CreateDbProxyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
CreateDbProxyRequest.Builder |
tags(Tag... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
CreateDbProxyRequest.Builder |
vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
|
CreateDbProxyRequest.Builder |
vpcSecurityGroupIds(String... vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
|
CreateDbProxyRequest.Builder |
vpcSubnetIds(Collection<String> vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
|
CreateDbProxyRequest.Builder |
vpcSubnetIds(String... vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDbProxyRequest.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. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
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. An identifier must begin with a letter
and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two
consecutive hyphens.CreateDbProxyRequest.Builder engineFamily(String engineFamily)
The kinds of databases that the proxy can connect to. This value determines which database network protocol
the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for
MariaDB, and RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL and RDS for
PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server, specify
SQLSERVER.
engineFamily - The kinds of databases that the proxy can connect to. This value determines which database network
protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora
MySQL, RDS for MariaDB, and RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL
and RDS for PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server,
specify SQLSERVER.EngineFamily,
EngineFamilyCreateDbProxyRequest.Builder engineFamily(EngineFamily engineFamily)
The kinds of databases that the proxy can connect to. This value determines which database network protocol
the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for
MariaDB, and RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL and RDS for
PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server, specify
SQLSERVER.
engineFamily - The kinds of databases that the proxy can connect to. This value determines which database network
protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora
MySQL, RDS for MariaDB, and RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL
and RDS for PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server,
specify SQLSERVER.EngineFamily,
EngineFamilyCreateDbProxyRequest.Builder auth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
auth - The authorization mechanism that the proxy uses.CreateDbProxyRequest.Builder auth(UserAuthConfig... auth)
The authorization mechanism that the proxy uses.
auth - The authorization mechanism that the proxy uses.CreateDbProxyRequest.Builder auth(Consumer<UserAuthConfig.Builder>... auth)
The authorization mechanism that the proxy uses.
This is a convenience method that creates an instance of theUserAuthConfig.Builder avoiding the need to create one
manually via UserAuthConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #auth(List.
auth - a consumer that will call methods on
UserAuthConfig.Builder#auth(java.util.Collection) CreateDbProxyRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
roleArn - The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web
Services Secrets Manager.CreateDbProxyRequest.Builder vpcSubnetIds(Collection<String> vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
vpcSubnetIds - One or more VPC subnet IDs to associate with the new proxy.CreateDbProxyRequest.Builder vpcSubnetIds(String... vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
vpcSubnetIds - One or more VPC subnet IDs to associate with the new proxy.CreateDbProxyRequest.Builder vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
vpcSecurityGroupIds - One or more VPC security group IDs to associate with the new proxy.CreateDbProxyRequest.Builder vpcSecurityGroupIds(String... vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
vpcSecurityGroupIds - One or more VPC security group IDs to associate with the new proxy.CreateDbProxyRequest.Builder requireTLS(Boolean requireTLS)
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
requireTLS - A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for
connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the
proxy.CreateDbProxyRequest.Builder idleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
idleClientTimeout - The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
You can set this value higher or lower than the connection timeout limit for the associated database.CreateDbProxyRequest.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.CreateDbProxyRequest.Builder tags(Collection<Tag> tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
tags - An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.CreateDbProxyRequest.Builder tags(Tag... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
tags - An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.CreateDbProxyRequest.Builder tags(Consumer<Tag.Builder>... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateDbProxyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDbProxyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.