Class DnsResponsePolicyRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_response_policy_rule.DnsResponsePolicyRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsResponsePolicyRule>
- Enclosing class:
- DnsResponsePolicyRule
@Stability(Stable) public static final class DnsResponsePolicyRule.Builder extends Object implements software.amazon.jsii.Builder<DnsResponsePolicyRule>
A fluent builder forDnsResponsePolicyRule.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsResponsePolicyRulebuild()DnsResponsePolicyRule.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DnsResponsePolicyRule.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DnsResponsePolicyRule.Buildercount(com.hashicorp.cdktf.TerraformCount count)DnsResponsePolicyRule.Buildercount(Number count)static DnsResponsePolicyRule.Buildercreate(software.constructs.Construct scope, String id)DnsResponsePolicyRule.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DnsResponsePolicyRule.BuilderdnsName(String dnsName)The DNS name (wildcard or exact) to apply this rule to.DnsResponsePolicyRule.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DnsResponsePolicyRule.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#id DnsResponsePolicyRule#id}.DnsResponsePolicyRule.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DnsResponsePolicyRule.BuilderlocalData(DnsResponsePolicyRuleLocalData localData)local_data block.DnsResponsePolicyRule.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#project DnsResponsePolicyRule#project}.DnsResponsePolicyRule.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DnsResponsePolicyRule.Builderprovisioners(List<? extends Object> provisioners)DnsResponsePolicyRule.BuilderresponsePolicy(String responsePolicy)Identifies the response policy addressed by this request.DnsResponsePolicyRule.BuilderruleName(String ruleName)An identifier for this rule.DnsResponsePolicyRule.Buildertimeouts(DnsResponsePolicyRuleTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DnsResponsePolicyRule.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
DnsResponsePolicyRule.Builder.
-
connection
@Stability(Experimental) public DnsResponsePolicyRule.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DnsResponsePolicyRule.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DnsResponsePolicyRule.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DnsResponsePolicyRule.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DnsResponsePolicyRule.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DnsResponsePolicyRule.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DnsResponsePolicyRule.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DnsResponsePolicyRule.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DnsResponsePolicyRule.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
dnsName
@Stability(Stable) public DnsResponsePolicyRule.Builder dnsName(String dnsName)
The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#dns_name DnsResponsePolicyRule#dns_name}
- Parameters:
dnsName- The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. This parameter is required.- Returns:
this
-
responsePolicy
@Stability(Stable) public DnsResponsePolicyRule.Builder responsePolicy(String responsePolicy)
Identifies the response policy addressed by this request.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#response_policy DnsResponsePolicyRule#response_policy}
- Parameters:
responsePolicy- Identifies the response policy addressed by this request. This parameter is required.- Returns:
this
-
ruleName
@Stability(Stable) public DnsResponsePolicyRule.Builder ruleName(String ruleName)
An identifier for this rule. Must be unique with the ResponsePolicy.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#rule_name DnsResponsePolicyRule#rule_name}
- Parameters:
ruleName- An identifier for this rule. Must be unique with the ResponsePolicy. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DnsResponsePolicyRule.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#id DnsResponsePolicyRule#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/dns_response_policy_rule#id DnsResponsePolicyRule#id}. This parameter is required.- Returns:
this
-
localData
@Stability(Stable) public DnsResponsePolicyRule.Builder localData(DnsResponsePolicyRuleLocalData localData)
local_data block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#local_data DnsResponsePolicyRule#local_data}
- Parameters:
localData- local_data block. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DnsResponsePolicyRule.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#project DnsResponsePolicyRule#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#project DnsResponsePolicyRule#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public DnsResponsePolicyRule.Builder timeouts(DnsResponsePolicyRuleTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#timeouts DnsResponsePolicyRule#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DnsResponsePolicyRule build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsResponsePolicyRule>- Returns:
- a newly built instance of
DnsResponsePolicyRule.
-
-