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