Class VmwareengineNetworkPolicy.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public VmwareengineNetworkPolicy.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • edgeServicesCidr

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder edgeServicesCidr​(String edgeServicesCidr)
        IP address range in CIDR notation used to create internet access and external IP access.

        An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#edge_services_cidr VmwareengineNetworkPolicy#edge_services_cidr}

        Parameters:
        edgeServicesCidr - IP address range in CIDR notation used to create internet access and external IP access. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder location​(String location)
        The resource name of the location (region) to create the new network policy in.

        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-central1 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#location VmwareengineNetworkPolicy#location}

        Parameters:
        location - The resource name of the location (region) to create the new network policy in. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder name​(String name)
        The ID of the Network Policy.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#name VmwareengineNetworkPolicy#name}

        Parameters:
        name - The ID of the Network Policy. This parameter is required.
        Returns:
        this
      • vmwareEngineNetwork

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder vmwareEngineNetwork​(String vmwareEngineNetwork)
        The relative resource name of the VMware Engine network.

        Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#vmware_engine_network VmwareengineNetworkPolicy#vmware_engine_network}

        Parameters:
        vmwareEngineNetwork - The relative resource name of the VMware Engine network. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder description​(String description)
        User-provided description for this network policy.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#description VmwareengineNetworkPolicy#description}

        Parameters:
        description - User-provided description for this network policy. This parameter is required.
        Returns:
        this
      • externalIp

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder externalIp​(VmwareengineNetworkPolicyExternalIp externalIp)
        external_ip block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#external_ip VmwareengineNetworkPolicy#external_ip}

        Parameters:
        externalIp - external_ip block. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#id VmwareengineNetworkPolicy#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_network_policy#id VmwareengineNetworkPolicy#id}. This parameter is required.
        Returns:
        this
      • internetAccess

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder internetAccess​(VmwareengineNetworkPolicyInternetAccess internetAccess)
        internet_access block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#internet_access VmwareengineNetworkPolicy#internet_access}

        Parameters:
        internetAccess - internet_access block. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#project VmwareengineNetworkPolicy#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#project VmwareengineNetworkPolicy#project}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public VmwareengineNetworkPolicy.Builder timeouts​(VmwareengineNetworkPolicyTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_network_policy#timeouts VmwareengineNetworkPolicy#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this