Class CloudwatchEventTargetRedshiftTarget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cloudwatch_event_target.CloudwatchEventTargetRedshiftTarget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudwatchEventTargetRedshiftTarget>
- Enclosing interface:
- CloudwatchEventTargetRedshiftTarget
@Stability(Stable) public static final class CloudwatchEventTargetRedshiftTarget.Builder extends Object implements software.amazon.jsii.Builder<CloudwatchEventTargetRedshiftTarget>
A builder forCloudwatchEventTargetRedshiftTarget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
database
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder database(String database)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getDatabase()- Parameters:
database- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#database CloudwatchEventTarget#database}. This parameter is required.- Returns:
this
-
dbUser
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder dbUser(String dbUser)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getDbUser()- Parameters:
dbUser- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#db_user CloudwatchEventTarget#db_user}.- Returns:
this
-
secretsManagerArn
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder secretsManagerArn(String secretsManagerArn)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getSecretsManagerArn()- Parameters:
secretsManagerArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#secrets_manager_arn CloudwatchEventTarget#secrets_manager_arn}.- Returns:
this
-
sql
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder sql(String sql)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getSql()- Parameters:
sql- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#sql CloudwatchEventTarget#sql}.- Returns:
this
-
statementName
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder statementName(String statementName)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getStatementName()- Parameters:
statementName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#statement_name CloudwatchEventTarget#statement_name}.- Returns:
this
-
withEvent
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder withEvent(Boolean withEvent)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getWithEvent()- Parameters:
withEvent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#with_event CloudwatchEventTarget#with_event}.- Returns:
this
-
withEvent
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget.Builder withEvent(com.hashicorp.cdktf.IResolvable withEvent)
Sets the value ofCloudwatchEventTargetRedshiftTarget.getWithEvent()- Parameters:
withEvent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#with_event CloudwatchEventTarget#with_event}.- Returns:
this
-
build
@Stability(Stable) public CloudwatchEventTargetRedshiftTarget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudwatchEventTargetRedshiftTarget>- Returns:
- a new instance of
CloudwatchEventTargetRedshiftTarget - Throws:
NullPointerException- if any required attribute was not provided
-
-