Interface RedshiftSourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftSourceConfig.Builder,
,RedshiftSourceConfig> SdkBuilder<RedshiftSourceConfig.Builder,
,RedshiftSourceConfig> SdkPojo
- Enclosing class:
RedshiftSourceConfig
public static interface RedshiftSourceConfig.Builder
extends SdkPojo, CopyableBuilder<RedshiftSourceConfig.Builder,RedshiftSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier
(String clusterIdentifier) A string identifying the Redshift cluster.databaseHost
(String databaseHost) The name of the database host.databaseName
(String databaseName) The Redshift database name.databasePort
(Integer databasePort) The port number where the database can be accessed.The Amazon Resource Name (ARN) of the role providing access to the database.secretManagerArn
(String secretManagerArn) The Amazon Resource Name (ARN) of the AWS Secrets Manager role.The table name of the Redshift database.default RedshiftSourceConfig.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) Contains information about the Amazon Virtual Private Cloud (VPC) configuration.vpcConfiguration
(VpcConfiguration vpcConfiguration) Contains 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
-
clusterIdentifier
A string identifying the Redshift cluster.
- Parameters:
clusterIdentifier
- A string identifying the Redshift cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseHost
The name of the database host.
- Parameters:
databaseHost
- The name of the database host.- 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 Redshift database name.
- Parameters:
databaseName
- The Redshift database name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The table name of the Redshift database.
- Parameters:
tableName
- The table name of the Redshift 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 providing access to the database.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role providing access to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
Contains information about the Amazon Virtual Private Cloud (VPC) configuration.
- Parameters:
vpcConfiguration
- Contains 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 RedshiftSourceConfig.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Contains 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:
-