Class CloudwatchEventTargetBatchTarget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cloudwatch_event_target.CloudwatchEventTargetBatchTarget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudwatchEventTargetBatchTarget>
- Enclosing interface:
- CloudwatchEventTargetBatchTarget
@Stability(Stable) public static final class CloudwatchEventTargetBatchTarget.Builder extends Object implements software.amazon.jsii.Builder<CloudwatchEventTargetBatchTarget>
A builder forCloudwatchEventTargetBatchTarget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudwatchEventTargetBatchTarget.BuilderarraySize(Number arraySize)Sets the value ofCloudwatchEventTargetBatchTarget.getArraySize()CloudwatchEventTargetBatchTargetbuild()Builds the configured instance.CloudwatchEventTargetBatchTarget.BuilderjobAttempts(Number jobAttempts)Sets the value ofCloudwatchEventTargetBatchTarget.getJobAttempts()CloudwatchEventTargetBatchTarget.BuilderjobDefinition(String jobDefinition)Sets the value ofCloudwatchEventTargetBatchTarget.getJobDefinition()CloudwatchEventTargetBatchTarget.BuilderjobName(String jobName)Sets the value ofCloudwatchEventTargetBatchTarget.getJobName()
-
-
-
Method Detail
-
jobDefinition
@Stability(Stable) public CloudwatchEventTargetBatchTarget.Builder jobDefinition(String jobDefinition)
Sets the value ofCloudwatchEventTargetBatchTarget.getJobDefinition()- Parameters:
jobDefinition- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#job_definition CloudwatchEventTarget#job_definition}. This parameter is required.- Returns:
this
-
jobName
@Stability(Stable) public CloudwatchEventTargetBatchTarget.Builder jobName(String jobName)
Sets the value ofCloudwatchEventTargetBatchTarget.getJobName()- Parameters:
jobName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#job_name CloudwatchEventTarget#job_name}. This parameter is required.- Returns:
this
-
arraySize
@Stability(Stable) public CloudwatchEventTargetBatchTarget.Builder arraySize(Number arraySize)
Sets the value ofCloudwatchEventTargetBatchTarget.getArraySize()- Parameters:
arraySize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#array_size CloudwatchEventTarget#array_size}.- Returns:
this
-
jobAttempts
@Stability(Stable) public CloudwatchEventTargetBatchTarget.Builder jobAttempts(Number jobAttempts)
Sets the value ofCloudwatchEventTargetBatchTarget.getJobAttempts()- Parameters:
jobAttempts- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#job_attempts CloudwatchEventTarget#job_attempts}.- Returns:
this
-
build
@Stability(Stable) public CloudwatchEventTargetBatchTarget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudwatchEventTargetBatchTarget>- Returns:
- a new instance of
CloudwatchEventTargetBatchTarget - Throws:
NullPointerException- if any required attribute was not provided
-
-