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