Interface ModifyDbProxyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDbProxyRequest.Builder,,ModifyDbProxyRequest> RdsRequest.Builder,SdkBuilder<ModifyDbProxyRequest.Builder,,ModifyDbProxyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyDbProxyRequest
-
Method Summary
Modifier and TypeMethodDescriptionauth(Collection<UserAuthConfig> auth) The new authentication settings for theDBProxy.auth(Consumer<UserAuthConfig.Builder>... auth) The new authentication settings for theDBProxy.auth(UserAuthConfig... auth) The new authentication settings for theDBProxy.dbProxyName(String dbProxyName) The identifier for theDBProxyto modify.debugLogging(Boolean debugLogging) Specifies whether the proxy logs detailed connection and query information.defaultAuthScheme(String defaultAuthScheme) The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.defaultAuthScheme(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.idleClientTimeout(Integer idleClientTimeout) The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.newDBProxyName(String newDBProxyName) The new identifier for theDBProxy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requireTLS(Boolean requireTLS) Whether Transport Layer Security (TLS) encryption is required for connections to the proxy.The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.securityGroups(String... securityGroups) The new list of security groups for theDBProxy.securityGroups(Collection<String> securityGroups) The new list of security groups for theDBProxy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbProxyName
The identifier for the
DBProxyto modify.- Parameters:
dbProxyName- The identifier for theDBProxyto modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
newDBProxyName- The new identifier for theDBProxy. 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 areNONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 areNONEandIAM_AUTH. When set toIAM_AUTH, the proxy uses end-to-end IAM authentication to connect to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auth
The new authentication settings for the
DBProxy.- Parameters:
auth- The new authentication settings for theDBProxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auth
The new authentication settings for the
DBProxy.- Parameters:
auth- The new authentication settings for theDBProxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auth
The new authentication settings for the
This is a convenience method that creates an instance of theDBProxy.UserAuthConfig.Builderavoiding the need to create one manually viaUserAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauth(List<UserAuthConfig>).- Parameters:
auth- a consumer that will call methods onUserAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
debugLogging- Specifies whether the proxy logs detailed connection and query information. When you enableDebugLogging, 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:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The new list of security groups for the
DBProxy.- Parameters:
securityGroups- The new list of security groups for theDBProxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The new list of security groups for the
DBProxy.- Parameters:
securityGroups- The new list of security groups for theDBProxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDbProxyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDbProxyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-