Class NetworkSecurityAddressGroup.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder capacity​(Number capacity)
        Capacity of the Address Group.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#capacity NetworkSecurityAddressGroup#capacity}

        Parameters:
        capacity - Capacity of the Address Group. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder location​(String location)
        The location of the gateway security policy. The default value is 'global'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#location NetworkSecurityAddressGroup#location}

        Parameters:
        location - The location of the gateway security policy. The default value is 'global'. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder name​(String name)
        Name of the AddressGroup resource.

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

        Parameters:
        name - Name of the AddressGroup resource. This parameter is required.
        Returns:
        this
      • type

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder type​(String type)
        The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values: ["IPV4", "IPV6"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#type NetworkSecurityAddressGroup#type}

        Parameters:
        type - The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values: ["IPV4", "IPV6"]. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder description​(String description)
        Free-text description of the resource.

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

        Parameters:
        description - Free-text description of the resource. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder items​(List<String> items)
        List of items.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#items NetworkSecurityAddressGroup#items}

        Parameters:
        items - List of items. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder labels​(Map<String,​String> labels)
        Set of label tags associated with the AddressGroup resource.

        An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#labels NetworkSecurityAddressGroup#labels}

        Parameters:
        labels - Set of label tags associated with the AddressGroup resource. This parameter is required.
        Returns:
        this
      • parent

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder parent​(String parent)
        The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_address_group#parent NetworkSecurityAddressGroup#parent}

        Parameters:
        parent - The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetworkSecurityAddressGroup.Builder timeouts​(NetworkSecurityAddressGroupTimeouts timeouts)
        timeouts block.

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

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