Class NetworkSecuritySecurityProfileGroup.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_security_security_profile_group.NetworkSecuritySecurityProfileGroup.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroup>
- Enclosing class:
- NetworkSecuritySecurityProfileGroup
@Stability(Stable) public static final class NetworkSecuritySecurityProfileGroup.Builder extends Object implements software.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroup>
A fluent builder forNetworkSecuritySecurityProfileGroup.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSecuritySecurityProfileGroupbuild()NetworkSecuritySecurityProfileGroup.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetworkSecuritySecurityProfileGroup.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetworkSecuritySecurityProfileGroup.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetworkSecuritySecurityProfileGroup.Buildercount(Number count)static NetworkSecuritySecurityProfileGroup.Buildercreate(software.constructs.Construct scope, String id)NetworkSecuritySecurityProfileGroup.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetworkSecuritySecurityProfileGroup.Builderdescription(String description)An optional description of the profile.NetworkSecuritySecurityProfileGroup.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetworkSecuritySecurityProfileGroup.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_security_profile_group#id NetworkSecuritySecurityProfileGroup#id}.NetworkSecuritySecurityProfileGroup.Builderlabels(Map<String,String> labels)A map of key/value label pairs to assign to the resource.NetworkSecuritySecurityProfileGroup.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetworkSecuritySecurityProfileGroup.Builderlocation(String location)The location of the security profile group.NetworkSecuritySecurityProfileGroup.Buildername(String name)The name of the security profile group resource.NetworkSecuritySecurityProfileGroup.Builderparent(String parent)The name of the parent this security profile group belongs to.NetworkSecuritySecurityProfileGroup.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetworkSecuritySecurityProfileGroup.Builderprovisioners(List<? extends Object> provisioners)NetworkSecuritySecurityProfileGroup.BuilderthreatPreventionProfile(String threatPreventionProfile)Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.NetworkSecuritySecurityProfileGroup.Buildertimeouts(NetworkSecuritySecurityProfileGroupTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetworkSecuritySecurityProfileGroup.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
NetworkSecuritySecurityProfileGroup.Builder.
-
connection
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkSecuritySecurityProfileGroup.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.Builder name(String name)
The name of the security profile group resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_security_profile_group#name NetworkSecuritySecurityProfileGroup#name}
- Parameters:
name- The name of the security profile group resource. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.Builder description(String description)
An optional description of the 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_group#description NetworkSecuritySecurityProfileGroup#description}
- Parameters:
description- An optional description of the profile. The Max length is 512 characters. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.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_group#id NetworkSecuritySecurityProfileGroup#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_group#id NetworkSecuritySecurityProfileGroup#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.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_group#labels NetworkSecuritySecurityProfileGroup#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 NetworkSecuritySecurityProfileGroup.Builder location(String location)
The location of the security profile group. 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_group#location NetworkSecuritySecurityProfileGroup#location}
- Parameters:
location- The location of the security profile group. The default value is 'global'. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.Builder parent(String parent)
The name of the parent this security profile group 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_group#parent NetworkSecuritySecurityProfileGroup#parent}
- Parameters:
parent- The name of the parent this security profile group belongs to. Format: organizations/{organization_id}. This parameter is required.- Returns:
this
-
threatPreventionProfile
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.Builder threatPreventionProfile(String threatPreventionProfile)
Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_security_profile_group#threat_prevention_profile NetworkSecuritySecurityProfileGroup#threat_prevention_profile}
- Parameters:
threatPreventionProfile- Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkSecuritySecurityProfileGroup.Builder timeouts(NetworkSecuritySecurityProfileGroupTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_security_security_profile_group#timeouts NetworkSecuritySecurityProfileGroup#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NetworkSecuritySecurityProfileGroup build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroup>- Returns:
- a newly built instance of
NetworkSecuritySecurityProfileGroup.
-
-