Class NetworkSecuritySecurityProfile.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder name​(String name)
        The name of the security profile resource.

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

        Parameters:
        name - The name of the security profile resource. This parameter is required.
        Returns:
        this
      • type

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder type​(String type)
        The type of security profile. Possible values: ["THREAT_PREVENTION"].

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

        Parameters:
        type - The type of security profile. Possible values: ["THREAT_PREVENTION"]. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder description​(String description)
        An optional description of the security profile. The Max length is 512 characters.

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

        Parameters:
        description - An optional description of the security profile. The Max length is 512 characters. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder labels​(Map<String,​String> labels)
        A map of key/value label pairs to assign to the resource.

        **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_security_profile#labels NetworkSecuritySecurityProfile#labels}

        Parameters:
        labels - A map of key/value label pairs to assign to the resource. This parameter is required.
        Returns:
        this
      • location

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

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

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

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder parent​(String parent)
        The name of the parent this security profile belongs to. Format: organizations/{organization_id}.

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

        Parameters:
        parent - The name of the parent this security profile belongs to. Format: organizations/{organization_id}. This parameter is required.
        Returns:
        this
      • threatPreventionProfile

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder threatPreventionProfile​(NetworkSecuritySecurityProfileThreatPreventionProfile threatPreventionProfile)
        threat_prevention_profile block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_security_profile#threat_prevention_profile NetworkSecuritySecurityProfile#threat_prevention_profile}

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

        @Stability(Stable)
        public NetworkSecuritySecurityProfile.Builder timeouts​(NetworkSecuritySecurityProfileTimeouts timeouts)
        timeouts block.

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

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