Class ModifyDbProxyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rds.model.RdsRequest
-
- software.amazon.awssdk.services.rds.model.ModifyDbProxyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyDbProxyRequest.Builder,ModifyDbProxyRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyDbProxyRequest extends RdsRequest implements ToCopyableBuilder<ModifyDbProxyRequest.Builder,ModifyDbProxyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModifyDbProxyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserAuthConfig>auth()The new authentication settings for theDBProxy.static ModifyDbProxyRequest.Builderbuilder()StringdbProxyName()The identifier for theDBProxyto modify.BooleandebugLogging()Specifies whether the proxy logs detailed connection and query information.DefaultAuthSchemedefaultAuthScheme()The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.StringdefaultAuthSchemeAsString()The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAuth()For responses, this returns true if the service returned a value for the Auth property.inthashCode()booleanhasSecurityGroups()For responses, this returns true if the service returned a value for the SecurityGroups property.IntegeridleClientTimeout()The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.StringnewDBProxyName()The new identifier for theDBProxy.BooleanrequireTLS()Whether Transport Layer Security (TLS) encryption is required for connections to the proxy.StringroleArn()The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<String>securityGroups()The new list of security groups for theDBProxy.static Class<? extends ModifyDbProxyRequest.Builder>serializableBuilderClass()ModifyDbProxyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dbProxyName
public final String dbProxyName()
The identifier for the
DBProxyto modify.- Returns:
- The identifier for the
DBProxyto modify.
-
newDBProxyName
public final 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.- Returns:
- 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.
-
defaultAuthScheme
public final DefaultAuthScheme defaultAuthScheme()
The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are
NONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database.If the service returns an enum value that is not available in the current SDK version,
defaultAuthSchemewill returnDefaultAuthScheme.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultAuthSchemeAsString().- Returns:
- The default authentication scheme that the proxy uses for client connections to the proxy and connections
from the proxy to the underlying database. Valid values are
NONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database. - See Also:
DefaultAuthScheme
-
defaultAuthSchemeAsString
public final String defaultAuthSchemeAsString()
The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are
NONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database.If the service returns an enum value that is not available in the current SDK version,
defaultAuthSchemewill returnDefaultAuthScheme.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultAuthSchemeAsString().- Returns:
- The default authentication scheme that the proxy uses for client connections to the proxy and connections
from the proxy to the underlying database. Valid values are
NONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database. - See Also:
DefaultAuthScheme
-
hasAuth
public final boolean hasAuth()
For responses, this returns true if the service returned a value for the Auth property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
auth
public final List<UserAuthConfig> auth()
The new authentication settings for the
DBProxy.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAuth()method.- Returns:
- The new authentication settings for the
DBProxy.
-
requireTLS
public final 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.
- Returns:
- 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.
-
idleClientTimeout
public final 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.
- Returns:
- 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.
-
debugLogging
public final Boolean debugLogging()
Specifies whether the proxy logs detailed connection and query information. When you enable
DebugLogging, the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.- Returns:
- Specifies whether the proxy logs detailed connection and query information. When you enable
DebugLogging, the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
-
hasSecurityGroups
public final boolean hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
securityGroups
public final List<String> securityGroups()
The new list of security groups for the
DBProxy.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSecurityGroups()method.- Returns:
- The new list of security groups for the
DBProxy.
-
toBuilder
public ModifyDbProxyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyDbProxyRequest.Builder,ModifyDbProxyRequest>- Specified by:
toBuilderin classRdsRequest
-
builder
public static ModifyDbProxyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyDbProxyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-