Class DnsResponsePolicyRuleLocalDataLocalDatas.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_response_policy_rule.DnsResponsePolicyRuleLocalDataLocalDatas.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsResponsePolicyRuleLocalDataLocalDatas>
- Enclosing interface:
- DnsResponsePolicyRuleLocalDataLocalDatas
@Stability(Stable) public static final class DnsResponsePolicyRuleLocalDataLocalDatas.Builder extends Object implements software.amazon.jsii.Builder<DnsResponsePolicyRuleLocalDataLocalDatas>
A builder forDnsResponsePolicyRuleLocalDataLocalDatas
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsResponsePolicyRuleLocalDataLocalDatasbuild()Builds the configured instance.DnsResponsePolicyRuleLocalDataLocalDatas.Buildername(String name)Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getName()DnsResponsePolicyRuleLocalDataLocalDatas.Builderrrdatas(List<String> rrdatas)Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getRrdatas()DnsResponsePolicyRuleLocalDataLocalDatas.Builderttl(Number ttl)Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getTtl()DnsResponsePolicyRuleLocalDataLocalDatas.Buildertype(String type)Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getType()
-
-
-
Method Detail
-
name
@Stability(Stable) public DnsResponsePolicyRuleLocalDataLocalDatas.Builder name(String name)
Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getName()- Parameters:
name- For example, www.example.com. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#name DnsResponsePolicyRule#name}- Returns:
this
-
type
@Stability(Stable) public DnsResponsePolicyRuleLocalDataLocalDatas.Builder type(String type)
Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getType()- Parameters:
type- One of valid DNS resource types. This parameter is required. Possible values: ["A", "AAAA", "CAA", "CNAME", "DNSKEY", "DS", "HTTPS", "IPSECVPNKEY", "MX", "NAPTR", "NS", "PTR", "SOA", "SPF", "SRV", "SSHFP", "SVCB", "TLSA", "TXT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#type DnsResponsePolicyRule#type}- Returns:
this
-
rrdatas
@Stability(Stable) public DnsResponsePolicyRuleLocalDataLocalDatas.Builder rrdatas(List<String> rrdatas)
Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getRrdatas()- Parameters:
rrdatas- As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#rrdatas DnsResponsePolicyRule#rrdatas}- Returns:
this
-
ttl
@Stability(Stable) public DnsResponsePolicyRuleLocalDataLocalDatas.Builder ttl(Number ttl)
Sets the value ofDnsResponsePolicyRuleLocalDataLocalDatas.getTtl()- Parameters:
ttl- Number of seconds that this ResourceRecordSet can be cached by resolvers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_response_policy_rule#ttl DnsResponsePolicyRule#ttl}- Returns:
this
-
build
@Stability(Stable) public DnsResponsePolicyRuleLocalDataLocalDatas build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsResponsePolicyRuleLocalDataLocalDatas>- Returns:
- a new instance of
DnsResponsePolicyRuleLocalDataLocalDatas - Throws:
NullPointerException- if any required attribute was not provided
-
-