Class CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty>
- Enclosing interface:
CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty
@Stability(Stable)
public static final class CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) bucketPrefix
(String bucketPrefix) build()
Builds the configured instance.clusterIdentifier
(String clusterIdentifier) dataApiRoleArn
(String dataApiRoleArn) databaseName
(String databaseName) databaseUrl
(String databaseUrl) isRedshiftServerless
(Boolean isRedshiftServerless) isRedshiftServerless
(IResolvable isRedshiftServerless) workgroupName
(String workgroupName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder bucketName(String bucketName) - Parameters:
bucketName
- A name for the associated Amazon S3 bucket. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder roleArn(String roleArn) - Parameters:
roleArn
- The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only access to Amazon S3. This parameter is required. For more information, and for the polices that you attach to this role, see Allow Amazon Redshift to access your Amazon AppFlow data in Amazon S3 .- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder bucketPrefix(String bucketPrefix) - Parameters:
bucketPrefix
- The object key for the destination bucket in which Amazon AppFlow places the files.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofCfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.getClusterIdentifier()
- Parameters:
clusterIdentifier
- The unique ID that's assigned to an Amazon Redshift cluster.- Returns:
this
-
dataApiRoleArn
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder dataApiRoleArn(String dataApiRoleArn) Sets the value ofCfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.getDataApiRoleArn()
- Parameters:
dataApiRoleArn
- The Amazon Resource Name (ARN) of an IAM role that permits Amazon AppFlow to access your Amazon Redshift database through the Data API. For more information, and for the polices that you attach to this role, see Allow Amazon AppFlow to access Amazon Redshift databases with the Data API .- Returns:
this
-
databaseName
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder databaseName(String databaseName) - Parameters:
databaseName
- The name of an Amazon Redshift database.- Returns:
this
-
databaseUrl
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder databaseUrl(String databaseUrl) - Parameters:
databaseUrl
- The JDBC URL of the Amazon Redshift cluster.- Returns:
this
-
isRedshiftServerless
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder isRedshiftServerless(Boolean isRedshiftServerless) Sets the value ofCfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.getIsRedshiftServerless()
- Parameters:
isRedshiftServerless
- Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.- Returns:
this
-
isRedshiftServerless
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder isRedshiftServerless(IResolvable isRedshiftServerless) Sets the value ofCfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.getIsRedshiftServerless()
- Parameters:
isRedshiftServerless
- Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.- Returns:
this
-
workgroupName
@Stability(Stable) public CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty.Builder workgroupName(String workgroupName) - Parameters:
workgroupName
- The name of an Amazon Redshift workgroup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty>
- Returns:
- a new instance of
CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-