Class NetworkSecurityAddressGroup.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_security_address_group.NetworkSecurityAddressGroup.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkSecurityAddressGroup>
- Enclosing class:
- NetworkSecurityAddressGroup
@Stability(Stable) public static final class NetworkSecurityAddressGroup.Builder extends Object implements software.amazon.jsii.Builder<NetworkSecurityAddressGroup>
A fluent builder forNetworkSecurityAddressGroup.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSecurityAddressGroupbuild()NetworkSecurityAddressGroup.Buildercapacity(Number capacity)Capacity of the Address Group.NetworkSecurityAddressGroup.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetworkSecurityAddressGroup.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetworkSecurityAddressGroup.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetworkSecurityAddressGroup.Buildercount(Number count)static NetworkSecurityAddressGroup.Buildercreate(software.constructs.Construct scope, String id)NetworkSecurityAddressGroup.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetworkSecurityAddressGroup.Builderdescription(String description)Free-text description of the resource.NetworkSecurityAddressGroup.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetworkSecurityAddressGroup.Builderid(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}.NetworkSecurityAddressGroup.Builderitems(List<String> items)List of items.NetworkSecurityAddressGroup.Builderlabels(Map<String,String> labels)Set of label tags associated with the AddressGroup resource.NetworkSecurityAddressGroup.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetworkSecurityAddressGroup.Builderlocation(String location)The location of the gateway security policy.NetworkSecurityAddressGroup.Buildername(String name)Name of the AddressGroup resource.NetworkSecurityAddressGroup.Builderparent(String parent)The name of the parent this address group belongs to.NetworkSecurityAddressGroup.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetworkSecurityAddressGroup.Builderprovisioners(List<? extends Object> provisioners)NetworkSecurityAddressGroup.Buildertimeouts(NetworkSecurityAddressGroupTimeouts timeouts)timeouts block.NetworkSecurityAddressGroup.Buildertype(String type)The type of the Address Group.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetworkSecurityAddressGroup.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
NetworkSecurityAddressGroup.Builder.
-
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(Number count)
- Parameters:
count- 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
-
provisioners
@Stability(Experimental) public NetworkSecurityAddressGroup.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- 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
-
build
@Stability(Stable) public NetworkSecurityAddressGroup build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkSecurityAddressGroup>- Returns:
- a newly built instance of
NetworkSecurityAddressGroup.
-
-