@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBProxyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBProxyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBProxyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<UserAuthConfig> |
getAuth()
The authorization mechanism that the proxy uses.
|
String |
getDBProxyName()
The identifier for the proxy.
|
Boolean |
getDebugLogging()
Specifies whether the proxy includes detailed information about SQL statements in its logs.
|
String |
getEngineFamily()
The kinds of databases that the proxy can connect to.
|
Integer |
getIdleClientTimeout()
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
Boolean |
getRequireTLS()
Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services
Secrets Manager.
|
List<Tag> |
getTags()
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
List<String> |
getVpcSecurityGroupIds()
One or more VPC security group IDs to associate with the new proxy.
|
List<String> |
getVpcSubnetIds()
One or more VPC subnet IDs to associate with the new proxy.
|
int |
hashCode() |
Boolean |
isDebugLogging()
Specifies whether the proxy includes detailed information about SQL statements in its logs.
|
Boolean |
isRequireTLS()
Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
void |
setAuth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
|
void |
setDBProxyName(String dBProxyName)
The identifier for the proxy.
|
void |
setDebugLogging(Boolean debugLogging)
Specifies whether the proxy includes detailed information about SQL statements in its logs.
|
void |
setEngineFamily(String engineFamily)
The kinds of databases that the proxy can connect to.
|
void |
setIdleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
void |
setRequireTLS(Boolean requireTLS)
Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services
Secrets Manager.
|
void |
setTags(Collection<Tag> tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
|
void |
setVpcSubnetIds(Collection<String> vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
|
String |
toString()
Returns a string representation of this object.
|
CreateDBProxyRequest |
withAuth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
|
CreateDBProxyRequest |
withAuth(UserAuthConfig... auth)
The authorization mechanism that the proxy uses.
|
CreateDBProxyRequest |
withDBProxyName(String dBProxyName)
The identifier for the proxy.
|
CreateDBProxyRequest |
withDebugLogging(Boolean debugLogging)
Specifies whether the proxy includes detailed information about SQL statements in its logs.
|
CreateDBProxyRequest |
withEngineFamily(EngineFamily engineFamily)
The kinds of databases that the proxy can connect to.
|
CreateDBProxyRequest |
withEngineFamily(String engineFamily)
The kinds of databases that the proxy can connect to.
|
CreateDBProxyRequest |
withIdleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
CreateDBProxyRequest |
withRequireTLS(Boolean requireTLS)
Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
CreateDBProxyRequest |
withRoleArn(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 |
withTags(Collection<Tag> tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
CreateDBProxyRequest |
withTags(Tag... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
CreateDBProxyRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
|
CreateDBProxyRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
|
CreateDBProxyRequest |
withVpcSubnetIds(Collection<String> vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
|
CreateDBProxyRequest |
withVpcSubnetIds(String... vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBProxyName(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.public String getDBProxyName()
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.
public CreateDBProxyRequest withDBProxyName(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.public void setEngineFamily(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
public String getEngineFamily()
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
.
MYSQL
. For Aurora PostgreSQL
and RDS for PostgreSQL databases, specify POSTGRESQL
. For RDS for Microsoft SQL Server,
specify SQLSERVER
.EngineFamily
public CreateDBProxyRequest withEngineFamily(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
public CreateDBProxyRequest withEngineFamily(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
public List<UserAuthConfig> getAuth()
The authorization mechanism that the proxy uses.
public void setAuth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
auth
- The authorization mechanism that the proxy uses.public CreateDBProxyRequest withAuth(UserAuthConfig... auth)
The authorization mechanism that the proxy uses.
NOTE: This method appends the values to the existing list (if any). Use
setAuth(java.util.Collection)
or withAuth(java.util.Collection)
if you want to override the
existing values.
auth
- The authorization mechanism that the proxy uses.public CreateDBProxyRequest withAuth(Collection<UserAuthConfig> auth)
The authorization mechanism that the proxy uses.
auth
- The authorization mechanism that the proxy uses.public void setRoleArn(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.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
public CreateDBProxyRequest withRoleArn(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.public List<String> getVpcSubnetIds()
One or more VPC subnet IDs to associate with the new proxy.
public void setVpcSubnetIds(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.public CreateDBProxyRequest withVpcSubnetIds(String... vpcSubnetIds)
One or more VPC subnet IDs to associate with the new proxy.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSubnetIds(java.util.Collection)
or withVpcSubnetIds(java.util.Collection)
if you want to
override the existing values.
vpcSubnetIds
- One or more VPC subnet IDs to associate with the new proxy.public CreateDBProxyRequest withVpcSubnetIds(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.public List<String> getVpcSecurityGroupIds()
One or more VPC security group IDs to associate with the new proxy.
public void setVpcSecurityGroupIds(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.public CreateDBProxyRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
One or more VPC security group IDs to associate with the new proxy.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- One or more VPC security group IDs to associate with the new proxy.public CreateDBProxyRequest withVpcSecurityGroupIds(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.public void setRequireTLS(Boolean requireTLS)
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
- 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.public Boolean getRequireTLS()
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.
public CreateDBProxyRequest withRequireTLS(Boolean requireTLS)
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
- 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.public Boolean isRequireTLS()
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.
public void setIdleClientTimeout(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.public Integer getIdleClientTimeout()
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.
public CreateDBProxyRequest withIdleClientTimeout(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.public void setDebugLogging(Boolean debugLogging)
Specifies 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
- Specifies 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 Boolean getDebugLogging()
Specifies 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 CreateDBProxyRequest withDebugLogging(Boolean debugLogging)
Specifies 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
- Specifies 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 Boolean isDebugLogging()
Specifies 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 List<Tag> getTags()
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
public void setTags(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.public CreateDBProxyRequest withTags(Tag... tags)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.public CreateDBProxyRequest withTags(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.public String toString()
toString
in class Object
Object.toString()
public CreateDBProxyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()