Class CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty>
- Enclosing interface:
- CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty
@Stability(Stable)
public static final class CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty>
A builder for
CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.soa(IResolvable soa) Sets the value ofCfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.getSoa()Sets the value ofCfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.getSoa()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
soa
@Stability(Stable) public CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.Builder soa(IResolvable soa) Sets the value ofCfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.getSoa()- Parameters:
soa- Start of Authority (SOA) record for the hosted zone for the public DNS namespace.- Returns:
this
-
soa
@Stability(Stable) public CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.Builder soa(CfnPublicDnsNamespace.SOAProperty soa) Sets the value ofCfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty.getSoa()- Parameters:
soa- Start of Authority (SOA) record for the hosted zone for the public DNS namespace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty>- Returns:
- a new instance of
CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty - Throws:
NullPointerException- if any required attribute was not provided
-