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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedshiftSourceConfig.BuilderclusterIdentifier(String clusterIdentifier)A string identifying the Redshift cluster.RedshiftSourceConfig.BuilderdatabaseHost(String databaseHost)The name of the database host.RedshiftSourceConfig.BuilderdatabaseName(String databaseName)The Redshift database name.RedshiftSourceConfig.BuilderdatabasePort(Integer databasePort)The port number where the database can be accessed.RedshiftSourceConfig.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the role providing access to the database.RedshiftSourceConfig.BuildersecretManagerArn(String secretManagerArn)The Amazon Resource Name (ARN) of the AWS Secrets Manager role.RedshiftSourceConfig.BuildertableName(String tableName)The table name of the Redshift database.default RedshiftSourceConfig.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)Contains information about the Amazon Virtual Private Cloud (VPC) configuration.RedshiftSourceConfig.BuildervpcConfiguration(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 Detail
-
clusterIdentifier
RedshiftSourceConfig.Builder clusterIdentifier(String 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
RedshiftSourceConfig.Builder databaseHost(String 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
RedshiftSourceConfig.Builder databasePort(Integer 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
RedshiftSourceConfig.Builder secretManagerArn(String 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
RedshiftSourceConfig.Builder databaseName(String 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
RedshiftSourceConfig.Builder tableName(String 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
RedshiftSourceConfig.Builder roleArn(String 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
RedshiftSourceConfig.Builder vpcConfiguration(VpcConfiguration 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.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,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:
vpcConfiguration(VpcConfiguration)
-
-