Class VmwareengineExternalAccessRule.Builder

    • Method Detail

      • 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​(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
      • 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