@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBProxyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyDBProxyRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDBProxyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<UserAuthConfig> |
getAuth()
The new authentication settings for the
DBProxy . |
String |
getDBProxyName()
The identifier for the
DBProxy to modify. |
Boolean |
getDebugLogging()
Whether the proxy includes detailed information about SQL statements in its logs.
|
Integer |
getIdleClientTimeout()
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
String |
getNewDBProxyName()
The new identifier for the
DBProxy . |
Boolean |
getRequireTLS()
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<String> |
getSecurityGroups()
The new list of security groups for the
DBProxy . |
int |
hashCode() |
Boolean |
isDebugLogging()
Whether the proxy includes detailed information about SQL statements in its logs.
|
Boolean |
isRequireTLS()
Whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
void |
setAuth(Collection<UserAuthConfig> auth)
The new authentication settings for the
DBProxy . |
void |
setDBProxyName(String dBProxyName)
The identifier for the
DBProxy to modify. |
void |
setDebugLogging(Boolean debugLogging)
Whether the proxy includes detailed information about SQL statements in its logs.
|
void |
setIdleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
void |
setNewDBProxyName(String newDBProxyName)
The new identifier for the
DBProxy . |
void |
setRequireTLS(Boolean requireTLS)
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 |
setSecurityGroups(Collection<String> securityGroups)
The new list of security groups for the
DBProxy . |
String |
toString()
Returns a string representation of this object.
|
ModifyDBProxyRequest |
withAuth(Collection<UserAuthConfig> auth)
The new authentication settings for the
DBProxy . |
ModifyDBProxyRequest |
withAuth(UserAuthConfig... auth)
The new authentication settings for the
DBProxy . |
ModifyDBProxyRequest |
withDBProxyName(String dBProxyName)
The identifier for the
DBProxy to modify. |
ModifyDBProxyRequest |
withDebugLogging(Boolean debugLogging)
Whether the proxy includes detailed information about SQL statements in its logs.
|
ModifyDBProxyRequest |
withIdleClientTimeout(Integer idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
ModifyDBProxyRequest |
withNewDBProxyName(String newDBProxyName)
The new identifier for the
DBProxy . |
ModifyDBProxyRequest |
withRequireTLS(Boolean requireTLS)
Whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
ModifyDBProxyRequest |
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.
|
ModifyDBProxyRequest |
withSecurityGroups(Collection<String> securityGroups)
The new list of security groups for the
DBProxy . |
ModifyDBProxyRequest |
withSecurityGroups(String... securityGroups)
The new list of security groups for the
DBProxy . |
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 DBProxy
to modify.
dBProxyName
- The identifier for the DBProxy
to modify.public String getDBProxyName()
The identifier for the DBProxy
to modify.
DBProxy
to modify.public ModifyDBProxyRequest withDBProxyName(String dBProxyName)
The identifier for the DBProxy
to modify.
dBProxyName
- The identifier for the DBProxy
to modify.public void setNewDBProxyName(String newDBProxyName)
The new identifier for the DBProxy
. 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.
newDBProxyName
- The new identifier for the DBProxy
. 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 getNewDBProxyName()
The new identifier for the DBProxy
. 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.
DBProxy
. 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 ModifyDBProxyRequest withNewDBProxyName(String newDBProxyName)
The new identifier for the DBProxy
. 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.
newDBProxyName
- The new identifier for the DBProxy
. 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 List<UserAuthConfig> getAuth()
The new authentication settings for the DBProxy
.
DBProxy
.public void setAuth(Collection<UserAuthConfig> auth)
The new authentication settings for the DBProxy
.
auth
- The new authentication settings for the DBProxy
.public ModifyDBProxyRequest withAuth(UserAuthConfig... auth)
The new authentication settings for the DBProxy
.
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 new authentication settings for the DBProxy
.public ModifyDBProxyRequest withAuth(Collection<UserAuthConfig> auth)
The new authentication settings for the DBProxy
.
auth
- The new authentication settings for the DBProxy
.public void setRequireTLS(Boolean requireTLS)
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, even if the associated database doesn't use TLS.
requireTLS
- 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, even if the associated database
doesn't use TLS.public Boolean getRequireTLS()
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, even if the associated database doesn't use TLS.
public ModifyDBProxyRequest withRequireTLS(Boolean requireTLS)
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, even if the associated database doesn't use TLS.
requireTLS
- 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, even if the associated database
doesn't use TLS.public Boolean isRequireTLS()
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, even if the associated database doesn't use TLS.
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 ModifyDBProxyRequest 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)
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.public Boolean getDebugLogging()
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 ModifyDBProxyRequest withDebugLogging(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.public Boolean isDebugLogging()
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 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 ModifyDBProxyRequest 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> getSecurityGroups()
The new list of security groups for the DBProxy
.
DBProxy
.public void setSecurityGroups(Collection<String> securityGroups)
The new list of security groups for the DBProxy
.
securityGroups
- The new list of security groups for the DBProxy
.public ModifyDBProxyRequest withSecurityGroups(String... securityGroups)
The new list of security groups for the DBProxy
.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The new list of security groups for the DBProxy
.public ModifyDBProxyRequest withSecurityGroups(Collection<String> securityGroups)
The new list of security groups for the DBProxy
.
securityGroups
- The new list of security groups for the DBProxy
.public String toString()
toString
in class Object
Object.toString()
public ModifyDBProxyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()