Class CfnTargetDomain.DnsVerificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnTargetDomain.DnsVerificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetDomain.DnsVerificationProperty>
- Enclosing interface:
CfnTargetDomain.DnsVerificationProperty
@Stability(Stable)
public static final class CfnTargetDomain.DnsVerificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetDomain.DnsVerificationProperty>
A builder for
CfnTargetDomain.DnsVerificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dnsRecordName(String dnsRecordName) Sets the value ofCfnTargetDomain.DnsVerificationProperty.getDnsRecordName()dnsRecordType(String dnsRecordType) Sets the value ofCfnTargetDomain.DnsVerificationProperty.getDnsRecordType()Sets the value ofCfnTargetDomain.DnsVerificationProperty.getToken()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsRecordName
@Stability(Stable) public CfnTargetDomain.DnsVerificationProperty.Builder dnsRecordName(String dnsRecordName) Sets the value ofCfnTargetDomain.DnsVerificationProperty.getDnsRecordName()- Parameters:
dnsRecordName- Record name to be added in DNS for target domain.- Returns:
this
-
dnsRecordType
@Stability(Stable) public CfnTargetDomain.DnsVerificationProperty.Builder dnsRecordType(String dnsRecordType) Sets the value ofCfnTargetDomain.DnsVerificationProperty.getDnsRecordType()- Parameters:
dnsRecordType- Type of record to be added in DNS for target domain.- Returns:
this
-
token
Sets the value ofCfnTargetDomain.DnsVerificationProperty.getToken()- Parameters:
token- Token used to verify domain ownership.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTargetDomain.DnsVerificationProperty>- Returns:
- a new instance of
CfnTargetDomain.DnsVerificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-