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