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