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