Class AppEngineFirewallRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_firewall_rule.AppEngineFirewallRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineFirewallRule>
- Enclosing class:
- AppEngineFirewallRule
@Stability(Stable) public static final class AppEngineFirewallRule.Builder extends Object implements software.amazon.jsii.Builder<AppEngineFirewallRule>
A fluent builder forAppEngineFirewallRule.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppEngineFirewallRule.Builderaction(String action)The action to take if this rule matches.AppEngineFirewallRulebuild()AppEngineFirewallRule.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)AppEngineFirewallRule.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)AppEngineFirewallRule.Buildercount(com.hashicorp.cdktf.TerraformCount count)AppEngineFirewallRule.Buildercount(Number count)static AppEngineFirewallRule.Buildercreate(software.constructs.Construct scope, String id)AppEngineFirewallRule.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)AppEngineFirewallRule.Builderdescription(String description)An optional string description of this rule.AppEngineFirewallRule.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)AppEngineFirewallRule.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#id AppEngineFirewallRule#id}.AppEngineFirewallRule.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)AppEngineFirewallRule.Builderpriority(Number priority)A positive integer that defines the order of rule evaluation.AppEngineFirewallRule.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#project AppEngineFirewallRule#project}.AppEngineFirewallRule.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)AppEngineFirewallRule.Builderprovisioners(List<? extends Object> provisioners)AppEngineFirewallRule.BuildersourceRange(String sourceRange)IP address or range, defined using CIDR notation, of requests that this rule applies to.AppEngineFirewallRule.Buildertimeouts(AppEngineFirewallRuleTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static AppEngineFirewallRule.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
AppEngineFirewallRule.Builder.
-
connection
@Stability(Experimental) public AppEngineFirewallRule.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public AppEngineFirewallRule.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AppEngineFirewallRule.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AppEngineFirewallRule.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public AppEngineFirewallRule.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public AppEngineFirewallRule.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public AppEngineFirewallRule.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public AppEngineFirewallRule.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public AppEngineFirewallRule.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
action
@Stability(Stable) public AppEngineFirewallRule.Builder action(String action)
The action to take if this rule matches. Possible values: ["UNSPECIFIED_ACTION", "ALLOW", "DENY"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#action AppEngineFirewallRule#action}
- Parameters:
action- The action to take if this rule matches. Possible values: ["UNSPECIFIED_ACTION", "ALLOW", "DENY"]. This parameter is required.- Returns:
this
-
sourceRange
@Stability(Stable) public AppEngineFirewallRule.Builder sourceRange(String sourceRange)
IP address or range, defined using CIDR notation, of requests that this rule applies to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#source_range AppEngineFirewallRule#source_range}
- Parameters:
sourceRange- IP address or range, defined using CIDR notation, of requests that this rule applies to. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public AppEngineFirewallRule.Builder description(String description)
An optional string description of this rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#description AppEngineFirewallRule#description}
- Parameters:
description- An optional string description of this rule. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AppEngineFirewallRule.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#id AppEngineFirewallRule#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/app_engine_firewall_rule#id AppEngineFirewallRule#id}. This parameter is required.- Returns:
this
-
priority
@Stability(Stable) public AppEngineFirewallRule.Builder priority(Number priority)
A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#priority AppEngineFirewallRule#priority}
- Parameters:
priority- A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public AppEngineFirewallRule.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#project AppEngineFirewallRule#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#project AppEngineFirewallRule#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public AppEngineFirewallRule.Builder timeouts(AppEngineFirewallRuleTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_firewall_rule#timeouts AppEngineFirewallRule#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AppEngineFirewallRule build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineFirewallRule>- Returns:
- a newly built instance of
AppEngineFirewallRule.
-
-