Class ComputePacketMirroringMirroredResources.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_packet_mirroring.ComputePacketMirroringMirroredResources.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputePacketMirroringMirroredResources>
- Enclosing interface:
- ComputePacketMirroringMirroredResources
@Stability(Stable) public static final class ComputePacketMirroringMirroredResources.Builder extends Object implements software.amazon.jsii.Builder<ComputePacketMirroringMirroredResources>
A builder forComputePacketMirroringMirroredResources
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
instances
@Stability(Stable) public ComputePacketMirroringMirroredResources.Builder instances(com.hashicorp.cdktf.IResolvable instances)
Sets the value ofComputePacketMirroringMirroredResources.getInstances()- Parameters:
instances- instances block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#instances ComputePacketMirroring#instances}- Returns:
this
-
instances
@Stability(Stable) public ComputePacketMirroringMirroredResources.Builder instances(List<? extends ComputePacketMirroringMirroredResourcesInstances> instances)
Sets the value ofComputePacketMirroringMirroredResources.getInstances()- Parameters:
instances- instances block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#instances ComputePacketMirroring#instances}- Returns:
this
-
subnetworks
@Stability(Stable) public ComputePacketMirroringMirroredResources.Builder subnetworks(com.hashicorp.cdktf.IResolvable subnetworks)
Sets the value ofComputePacketMirroringMirroredResources.getSubnetworks()- Parameters:
subnetworks- subnetworks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#subnetworks ComputePacketMirroring#subnetworks}- Returns:
this
-
subnetworks
@Stability(Stable) public ComputePacketMirroringMirroredResources.Builder subnetworks(List<? extends ComputePacketMirroringMirroredResourcesSubnetworks> subnetworks)
Sets the value ofComputePacketMirroringMirroredResources.getSubnetworks()- Parameters:
subnetworks- subnetworks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#subnetworks ComputePacketMirroring#subnetworks}- Returns:
this
-
tags
@Stability(Stable) public ComputePacketMirroringMirroredResources.Builder tags(List<String> tags)
Sets the value ofComputePacketMirroringMirroredResources.getTags()- Parameters:
tags- All instances with these tags will be mirrored. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_packet_mirroring#tags ComputePacketMirroring#tags}- Returns:
this
-
build
@Stability(Stable) public ComputePacketMirroringMirroredResources build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputePacketMirroringMirroredResources>- Returns:
- a new instance of
ComputePacketMirroringMirroredResources - Throws:
NullPointerException- if any required attribute was not provided
-
-