Interface RDSSourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RDSSourceConfig.Builder,
,RDSSourceConfig> SdkBuilder<RDSSourceConfig.Builder,
,RDSSourceConfig> SdkPojo
- Enclosing class:
RDSSourceConfig
public static interface RDSSourceConfig.Builder
extends SdkPojo, CopyableBuilder<RDSSourceConfig.Builder,RDSSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseHost
(String databaseHost) The host name of the database.databaseName
(String databaseName) The name of the RDS database.databasePort
(Integer databasePort) The port number where the database can be accessed.dbInstanceIdentifier
(String dbInstanceIdentifier) A string identifying the database instance.The Amazon Resource Name (ARN) of the role.secretManagerArn
(String secretManagerArn) The Amazon Resource Name (ARN) of the AWS Secrets Manager role.The name of the table in the database.default RDSSourceConfig.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.vpcConfiguration
(VpcConfiguration vpcConfiguration) An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
dbInstanceIdentifier
A string identifying the database instance.
- Parameters:
dbInstanceIdentifier
- A string identifying the database instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseHost
The host name of the database.
- Parameters:
databaseHost
- The host name of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databasePort
The port number where the database can be accessed.
- Parameters:
databasePort
- The port number where the database can be accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretManagerArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
- Parameters:
secretManagerArn
- The Amazon Resource Name (ARN) of the AWS Secrets Manager role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the RDS database.
- Parameters:
databaseName
- The name of the RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table in the database.
- Parameters:
tableName
- The name of the table in the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the role.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.
- Parameters:
vpcConfiguration
- An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default RDSSourceConfig.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.
This is a convenience method that creates an instance of theVpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(VpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-