Interface CreateDbProxyEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDbProxyEndpointRequest.Builder,
,CreateDbProxyEndpointRequest> RdsRequest.Builder
,SdkBuilder<CreateDbProxyEndpointRequest.Builder,
,CreateDbProxyEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDbProxyEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbProxyEndpointName
(String dbProxyEndpointName) The name of the DB proxy endpoint to create.dbProxyName
(String dbProxyName) The name of the DB proxy associated with the DB proxy endpoint that you create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.targetRole
(String targetRole) The role of the DB proxy endpoint.targetRole
(DBProxyEndpointTargetRole targetRole) The role of the DB proxy endpoint.vpcSecurityGroupIds
(String... vpcSecurityGroupIds) The VPC security group IDs for the DB proxy endpoint that you create.vpcSecurityGroupIds
(Collection<String> vpcSecurityGroupIds) The VPC security group IDs for the DB proxy endpoint that you create.vpcSubnetIds
(String... vpcSubnetIds) The VPC subnet IDs for the DB proxy endpoint that you create.vpcSubnetIds
(Collection<String> vpcSubnetIds) The VPC subnet IDs for the DB proxy endpoint that you create.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create.
- Parameters:
dbProxyName
- The name of the DB proxy associated with the DB proxy endpoint that you create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbProxyEndpointName
The name of the DB proxy endpoint to create.
- Parameters:
dbProxyEndpointName
- The name of the DB proxy endpoint to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSubnetIds
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
- Parameters:
vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSubnetIds
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
- Parameters:
vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
- Parameters:
vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
- Parameters:
vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRole
The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default is
READ_WRITE
. The only role that proxies for RDS for Microsoft SQL Server support isREAD_WRITE
.- Parameters:
targetRole
- The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default isREAD_WRITE
. The only role that proxies for RDS for Microsoft SQL Server support isREAD_WRITE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetRole
The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default is
READ_WRITE
. The only role that proxies for RDS for Microsoft SQL Server support isREAD_WRITE
.- Parameters:
targetRole
- The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default isREAD_WRITE
. The only role that proxies for RDS for Microsoft SQL Server support isREAD_WRITE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDbProxyEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDbProxyEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-