Class CloudwatchEventTargetEcsTargetPlacementConstraint.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cloudwatch_event_target.CloudwatchEventTargetEcsTargetPlacementConstraint.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudwatchEventTargetEcsTargetPlacementConstraint>
- Enclosing interface:
- CloudwatchEventTargetEcsTargetPlacementConstraint
@Stability(Stable) public static final class CloudwatchEventTargetEcsTargetPlacementConstraint.Builder extends Object implements software.amazon.jsii.Builder<CloudwatchEventTargetEcsTargetPlacementConstraint>
A builder forCloudwatchEventTargetEcsTargetPlacementConstraint
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudwatchEventTargetEcsTargetPlacementConstraintbuild()Builds the configured instance.CloudwatchEventTargetEcsTargetPlacementConstraint.Builderexpression(String expression)Sets the value ofCloudwatchEventTargetEcsTargetPlacementConstraint.getExpression()CloudwatchEventTargetEcsTargetPlacementConstraint.Buildertype(String type)Sets the value ofCloudwatchEventTargetEcsTargetPlacementConstraint.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public CloudwatchEventTargetEcsTargetPlacementConstraint.Builder type(String type)
Sets the value ofCloudwatchEventTargetEcsTargetPlacementConstraint.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#type CloudwatchEventTarget#type}. This parameter is required.- Returns:
this
-
expression
@Stability(Stable) public CloudwatchEventTargetEcsTargetPlacementConstraint.Builder expression(String expression)
Sets the value ofCloudwatchEventTargetEcsTargetPlacementConstraint.getExpression()- Parameters:
expression- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_event_target#expression CloudwatchEventTarget#expression}.- Returns:
this
-
build
@Stability(Stable) public CloudwatchEventTargetEcsTargetPlacementConstraint build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudwatchEventTargetEcsTargetPlacementConstraint>- Returns:
- a new instance of
CloudwatchEventTargetEcsTargetPlacementConstraint - Throws:
NullPointerException- if any required attribute was not provided
-
-