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