Class VmwareengineExternalAccessRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vmwareengine_external_access_rule.VmwareengineExternalAccessRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VmwareengineExternalAccessRule>
- Enclosing class:
- VmwareengineExternalAccessRule
@Stability(Stable) public static final class VmwareengineExternalAccessRule.Builder extends Object implements software.amazon.jsii.Builder<VmwareengineExternalAccessRule>
A fluent builder forVmwareengineExternalAccessRule.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VmwareengineExternalAccessRule.Builderaction(String action)The action that the external access rule performs.VmwareengineExternalAccessRulebuild()VmwareengineExternalAccessRule.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)VmwareengineExternalAccessRule.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)VmwareengineExternalAccessRule.Buildercount(com.hashicorp.cdktf.TerraformCount count)VmwareengineExternalAccessRule.Buildercount(Number count)static VmwareengineExternalAccessRule.Buildercreate(software.constructs.Construct scope, String id)VmwareengineExternalAccessRule.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)VmwareengineExternalAccessRule.Builderdescription(String description)User-provided description for the external access rule.VmwareengineExternalAccessRule.BuilderdestinationIpRanges(com.hashicorp.cdktf.IResolvable destinationIpRanges)destination_ip_ranges block.VmwareengineExternalAccessRule.BuilderdestinationIpRanges(List<? extends VmwareengineExternalAccessRuleDestinationIpRanges> destinationIpRanges)destination_ip_ranges block.VmwareengineExternalAccessRule.BuilderdestinationPorts(List<String> destinationPorts)A list of destination ports to which the external access rule applies.VmwareengineExternalAccessRule.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)VmwareengineExternalAccessRule.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#id VmwareengineExternalAccessRule#id}.VmwareengineExternalAccessRule.BuilderipProtocol(String ipProtocol)The IP protocol to which the external access rule applies.VmwareengineExternalAccessRule.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)VmwareengineExternalAccessRule.Buildername(String name)The ID of the external access rule.VmwareengineExternalAccessRule.Builderparent(String parent)The resource name of the network policy.VmwareengineExternalAccessRule.Builderpriority(Number priority)External access rule priority, which determines the external access rule to use when multiple rules apply.VmwareengineExternalAccessRule.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)VmwareengineExternalAccessRule.Builderprovisioners(List<? extends Object> provisioners)VmwareengineExternalAccessRule.BuildersourceIpRanges(com.hashicorp.cdktf.IResolvable sourceIpRanges)source_ip_ranges block.VmwareengineExternalAccessRule.BuildersourceIpRanges(List<? extends VmwareengineExternalAccessRuleSourceIpRanges> sourceIpRanges)source_ip_ranges block.VmwareengineExternalAccessRule.BuildersourcePorts(List<String> sourcePorts)A list of source ports to which the external access rule applies.VmwareengineExternalAccessRule.Buildertimeouts(VmwareengineExternalAccessRuleTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static VmwareengineExternalAccessRule.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
VmwareengineExternalAccessRule.Builder.
-
connection
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public VmwareengineExternalAccessRule.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
action
@Stability(Stable) public VmwareengineExternalAccessRule.Builder action(String action)
The action that the external access rule performs. Possible values: ["ALLOW", "DENY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#action VmwareengineExternalAccessRule#action}
- Parameters:
action- The action that the external access rule performs. Possible values: ["ALLOW", "DENY"]. This parameter is required.- Returns:
this
-
destinationIpRanges
@Stability(Stable) public VmwareengineExternalAccessRule.Builder destinationIpRanges(com.hashicorp.cdktf.IResolvable destinationIpRanges)
destination_ip_ranges block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#destination_ip_ranges VmwareengineExternalAccessRule#destination_ip_ranges}
- Parameters:
destinationIpRanges- destination_ip_ranges block. This parameter is required.- Returns:
this
-
destinationIpRanges
@Stability(Stable) public VmwareengineExternalAccessRule.Builder destinationIpRanges(List<? extends VmwareengineExternalAccessRuleDestinationIpRanges> destinationIpRanges)
destination_ip_ranges block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#destination_ip_ranges VmwareengineExternalAccessRule#destination_ip_ranges}
- Parameters:
destinationIpRanges- destination_ip_ranges block. This parameter is required.- Returns:
this
-
destinationPorts
@Stability(Stable) public VmwareengineExternalAccessRule.Builder destinationPorts(List<String> destinationPorts)
A list of destination ports to which the external access rule applies.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#destination_ports VmwareengineExternalAccessRule#destination_ports}
- Parameters:
destinationPorts- A list of destination ports to which the external access rule applies. This parameter is required.- Returns:
this
-
ipProtocol
@Stability(Stable) public VmwareengineExternalAccessRule.Builder ipProtocol(String ipProtocol)
The IP protocol to which the external access rule applies.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#ip_protocol VmwareengineExternalAccessRule#ip_protocol}
- Parameters:
ipProtocol- The IP protocol to which the external access rule applies. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public VmwareengineExternalAccessRule.Builder name(String name)
The ID of the external access rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#name VmwareengineExternalAccessRule#name}
- Parameters:
name- The ID of the external access rule. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public VmwareengineExternalAccessRule.Builder parent(String parent)
The resource name of the network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/networkPolicies/my-policy.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#parent VmwareengineExternalAccessRule#parent}
- Parameters:
parent- The resource name of the network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/networkPolicies/my-policy. This parameter is required.- Returns:
this
-
priority
@Stability(Stable) public VmwareengineExternalAccessRule.Builder priority(Number priority)
External access rule priority, which determines the external access rule to use when multiple rules apply.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#priority VmwareengineExternalAccessRule#priority}
- Parameters:
priority- External access rule priority, which determines the external access rule to use when multiple rules apply. This parameter is required.- Returns:
this
-
sourceIpRanges
@Stability(Stable) public VmwareengineExternalAccessRule.Builder sourceIpRanges(com.hashicorp.cdktf.IResolvable sourceIpRanges)
source_ip_ranges block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#source_ip_ranges VmwareengineExternalAccessRule#source_ip_ranges}
- Parameters:
sourceIpRanges- source_ip_ranges block. This parameter is required.- Returns:
this
-
sourceIpRanges
@Stability(Stable) public VmwareengineExternalAccessRule.Builder sourceIpRanges(List<? extends VmwareengineExternalAccessRuleSourceIpRanges> sourceIpRanges)
source_ip_ranges block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#source_ip_ranges VmwareengineExternalAccessRule#source_ip_ranges}
- Parameters:
sourceIpRanges- source_ip_ranges block. This parameter is required.- Returns:
this
-
sourcePorts
@Stability(Stable) public VmwareengineExternalAccessRule.Builder sourcePorts(List<String> sourcePorts)
A list of source ports to which the external access rule applies.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#source_ports VmwareengineExternalAccessRule#source_ports}
- Parameters:
sourcePorts- A list of source ports to which the external access rule applies. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public VmwareengineExternalAccessRule.Builder description(String description)
User-provided description for the external access rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#description VmwareengineExternalAccessRule#description}
- Parameters:
description- User-provided description for the external access rule. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public VmwareengineExternalAccessRule.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#id VmwareengineExternalAccessRule#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/vmwareengine_external_access_rule#id VmwareengineExternalAccessRule#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public VmwareengineExternalAccessRule.Builder timeouts(VmwareengineExternalAccessRuleTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_external_access_rule#timeouts VmwareengineExternalAccessRule#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public VmwareengineExternalAccessRule build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VmwareengineExternalAccessRule>- Returns:
- a newly built instance of
VmwareengineExternalAccessRule.
-
-