Class Ec2TrafficMirrorTargetConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.ec2_traffic_mirror_target.Ec2TrafficMirrorTargetConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Ec2TrafficMirrorTargetConfig>
- Enclosing interface:
- Ec2TrafficMirrorTargetConfig
@Stability(Stable) public static final class Ec2TrafficMirrorTargetConfig.Builder extends Object implements software.amazon.jsii.Builder<Ec2TrafficMirrorTargetConfig>
A builder forEc2TrafficMirrorTargetConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ec2TrafficMirrorTargetConfigbuild()Builds the configured instance.Ec2TrafficMirrorTargetConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Ec2TrafficMirrorTargetConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Ec2TrafficMirrorTargetConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()Ec2TrafficMirrorTargetConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()Ec2TrafficMirrorTargetConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()Ec2TrafficMirrorTargetConfig.Builderdescription(String description)Sets the value ofEc2TrafficMirrorTargetConfig.getDescription()Ec2TrafficMirrorTargetConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()Ec2TrafficMirrorTargetConfig.BuildergatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)Sets the value ofEc2TrafficMirrorTargetConfig.getGatewayLoadBalancerEndpointId()Ec2TrafficMirrorTargetConfig.Builderid(String id)Sets the value ofEc2TrafficMirrorTargetConfig.getId()Ec2TrafficMirrorTargetConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()Ec2TrafficMirrorTargetConfig.BuildernetworkInterfaceId(String networkInterfaceId)Sets the value ofEc2TrafficMirrorTargetConfig.getNetworkInterfaceId()Ec2TrafficMirrorTargetConfig.BuildernetworkLoadBalancerArn(String networkLoadBalancerArn)Sets the value ofEc2TrafficMirrorTargetConfig.getNetworkLoadBalancerArn()Ec2TrafficMirrorTargetConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()Ec2TrafficMirrorTargetConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()Ec2TrafficMirrorTargetConfig.Buildertags(Map<String,String> tags)Sets the value ofEc2TrafficMirrorTargetConfig.getTags()Ec2TrafficMirrorTargetConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEc2TrafficMirrorTargetConfig.getTagsAll()
-
-
-
Method Detail
-
description
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder description(String description)
Sets the value ofEc2TrafficMirrorTargetConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#description Ec2TrafficMirrorTarget#description}.- Returns:
this
-
gatewayLoadBalancerEndpointId
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder gatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
Sets the value ofEc2TrafficMirrorTargetConfig.getGatewayLoadBalancerEndpointId()- Parameters:
gatewayLoadBalancerEndpointId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#gateway_load_balancer_endpoint_id Ec2TrafficMirrorTarget#gateway_load_balancer_endpoint_id}.- Returns:
this
-
id
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder id(String id)
Sets the value ofEc2TrafficMirrorTargetConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#id Ec2TrafficMirrorTarget#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder networkInterfaceId(String networkInterfaceId)
Sets the value ofEc2TrafficMirrorTargetConfig.getNetworkInterfaceId()- Parameters:
networkInterfaceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#network_interface_id Ec2TrafficMirrorTarget#network_interface_id}.- Returns:
this
-
networkLoadBalancerArn
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder networkLoadBalancerArn(String networkLoadBalancerArn)
Sets the value ofEc2TrafficMirrorTargetConfig.getNetworkLoadBalancerArn()- Parameters:
networkLoadBalancerArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#network_load_balancer_arn Ec2TrafficMirrorTarget#network_load_balancer_arn}.- Returns:
this
-
tags
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder tags(Map<String,String> tags)
Sets the value ofEc2TrafficMirrorTargetConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#tags Ec2TrafficMirrorTarget#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public Ec2TrafficMirrorTargetConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEc2TrafficMirrorTargetConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_traffic_mirror_target#tags_all Ec2TrafficMirrorTarget#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public Ec2TrafficMirrorTargetConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public Ec2TrafficMirrorTargetConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Ec2TrafficMirrorTargetConfig>- Returns:
- a new instance of
Ec2TrafficMirrorTargetConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-