Class CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty>
-
Constructor Summary
Constructors -
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 CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder bucketName(String bucketName) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getBucketName()- Parameters:
bucketName- A name for the associated Amazon S3 bucket.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getBucketPrefix()- Parameters:
bucketPrefix- The object key for the destination bucket in which Amazon AppFlow places the files.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getClusterIdentifier()- Parameters:
clusterIdentifier- The unique ID that's assigned to an Amazon Redshift cluster.- Returns:
this
-
dataApiRoleArn
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder dataApiRoleArn(String dataApiRoleArn) Sets the value ofCfnConnectorProfilePropsMixin.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 CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder databaseName(String databaseName) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getDatabaseName()- Parameters:
databaseName- The name of an Amazon Redshift database.- Returns:
this
-
databaseUrl
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder databaseUrl(String databaseUrl) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getDatabaseUrl()- Parameters:
databaseUrl- The JDBC URL of the Amazon Redshift cluster.- Returns:
this
-
isRedshiftServerless
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder isRedshiftServerless(Boolean isRedshiftServerless) Sets the value ofCfnConnectorProfilePropsMixin.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 CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder isRedshiftServerless(IResolvable isRedshiftServerless) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getIsRedshiftServerless()- Parameters:
isRedshiftServerless- Indicates whether the connector profile defines a connection to an Amazon Redshift Serverless data warehouse.- Returns:
this
-
roleArn
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder roleArn(String roleArn) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only access to Amazon S3. 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
-
workgroupName
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.Builder workgroupName(String workgroupName) Sets the value ofCfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty.getWorkgroupName()- Parameters:
workgroupName- The name of an Amazon Redshift workgroup.- Returns:
this
-
build
@Stability(Stable) public CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.RedshiftConnectorProfilePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-