Class ComputePacketMirroring.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_packet_mirroring.ComputePacketMirroring.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputePacketMirroring>
- Enclosing class:
- ComputePacketMirroring
@Stability(Stable) public static final class ComputePacketMirroring.Builder extends Object implements software.amazon.jsii.Builder<ComputePacketMirroring>
A fluent builder forComputePacketMirroring.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputePacketMirroringbuild()ComputePacketMirroring.BuildercollectorIlb(ComputePacketMirroringCollectorIlb collectorIlb)collector_ilb block.ComputePacketMirroring.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ComputePacketMirroring.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ComputePacketMirroring.Buildercount(com.hashicorp.cdktf.TerraformCount count)ComputePacketMirroring.Buildercount(Number count)static ComputePacketMirroring.Buildercreate(software.constructs.Construct scope, String id)ComputePacketMirroring.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ComputePacketMirroring.Builderdescription(String description)A human-readable description of the rule.ComputePacketMirroring.Builderfilter(ComputePacketMirroringFilter filter)filter block.ComputePacketMirroring.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ComputePacketMirroring.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#id ComputePacketMirroring#id}.ComputePacketMirroring.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ComputePacketMirroring.BuildermirroredResources(ComputePacketMirroringMirroredResources mirroredResources)mirrored_resources block.ComputePacketMirroring.Buildername(String name)The name of the packet mirroring rule.ComputePacketMirroring.Buildernetwork(ComputePacketMirroringNetwork network)network block.ComputePacketMirroring.Builderpriority(Number priority)Since only one rule can be active at a time, priority is used to break ties in the case of two rules that apply to the same instances.ComputePacketMirroring.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#project ComputePacketMirroring#project}.ComputePacketMirroring.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ComputePacketMirroring.Builderprovisioners(List<? extends Object> provisioners)ComputePacketMirroring.Builderregion(String region)The Region in which the created address should reside.ComputePacketMirroring.Buildertimeouts(ComputePacketMirroringTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ComputePacketMirroring.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ComputePacketMirroring.Builder.
-
connection
@Stability(Experimental) public ComputePacketMirroring.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ComputePacketMirroring.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputePacketMirroring.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputePacketMirroring.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputePacketMirroring.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ComputePacketMirroring.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputePacketMirroring.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ComputePacketMirroring.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputePacketMirroring.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
collectorIlb
@Stability(Stable) public ComputePacketMirroring.Builder collectorIlb(ComputePacketMirroringCollectorIlb collectorIlb)
collector_ilb block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#collector_ilb ComputePacketMirroring#collector_ilb}
- Parameters:
collectorIlb- collector_ilb block. This parameter is required.- Returns:
this
-
mirroredResources
@Stability(Stable) public ComputePacketMirroring.Builder mirroredResources(ComputePacketMirroringMirroredResources mirroredResources)
mirrored_resources block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#mirrored_resources ComputePacketMirroring#mirrored_resources}
- Parameters:
mirroredResources- mirrored_resources block. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ComputePacketMirroring.Builder name(String name)
The name of the packet mirroring rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#name ComputePacketMirroring#name}
- Parameters:
name- The name of the packet mirroring rule. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public ComputePacketMirroring.Builder network(ComputePacketMirroringNetwork network)
network block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#network ComputePacketMirroring#network}
- Parameters:
network- network block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ComputePacketMirroring.Builder description(String description)
A human-readable description of the rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#description ComputePacketMirroring#description}
- Parameters:
description- A human-readable description of the rule. This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public ComputePacketMirroring.Builder filter(ComputePacketMirroringFilter filter)
filter block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#filter ComputePacketMirroring#filter}
- Parameters:
filter- filter block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ComputePacketMirroring.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#id ComputePacketMirroring#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#id ComputePacketMirroring#id}. This parameter is required.- Returns:
this
-
priority
@Stability(Stable) public ComputePacketMirroring.Builder priority(Number priority)
Since only one rule can be active at a time, priority is used to break ties in the case of two rules that apply to the same instances.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#priority ComputePacketMirroring#priority}
- Parameters:
priority- Since only one rule can be active at a time, priority is used to break ties in the case of two rules that apply to the same instances. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ComputePacketMirroring.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#project ComputePacketMirroring#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#project ComputePacketMirroring#project}. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public ComputePacketMirroring.Builder region(String region)
The Region in which the created address should reside. If it is not provided, the provider region is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#region ComputePacketMirroring#region}
- Parameters:
region- The Region in which the created address should reside. If it is not provided, the provider region is used. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ComputePacketMirroring.Builder timeouts(ComputePacketMirroringTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#timeouts ComputePacketMirroring#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ComputePacketMirroring build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputePacketMirroring>- Returns:
- a newly built instance of
ComputePacketMirroring.
-
-