Class NetworkSecuritySecurityProfileGroupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_security_security_profile_group.NetworkSecuritySecurityProfileGroupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroupConfig>
- Enclosing interface:
- NetworkSecuritySecurityProfileGroupConfig
@Stability(Stable) public static final class NetworkSecuritySecurityProfileGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroupConfig>
A builder forNetworkSecuritySecurityProfileGroupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder name(String name)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getName()- Parameters:
name- The name of the security profile group resource. This parameter is required. 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}- Returns:
this
-
description
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder description(String description)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getDescription()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder id(String id)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getId()- 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}. 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.- Returns:
this
-
labels
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder labels(Map<String,String> labels)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getLabels()- Parameters:
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}- Returns:
this
-
location
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder location(String location)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getLocation()- Parameters:
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}- Returns:
this
-
parent
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder parent(String parent)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getParent()- Parameters:
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}- Returns:
this
-
threatPreventionProfile
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder threatPreventionProfile(String threatPreventionProfile)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getThreatPreventionProfile()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig.Builder timeouts(NetworkSecuritySecurityProfileGroupTimeouts timeouts)
Sets the value ofNetworkSecuritySecurityProfileGroupConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkSecuritySecurityProfileGroupConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkSecuritySecurityProfileGroupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkSecuritySecurityProfileGroupConfig>- Returns:
- a new instance of
NetworkSecuritySecurityProfileGroupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-