Class CfnPrivateDnsNamespace.SOAProperty.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.CfnPrivateDnsNamespace.SOAProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateDnsNamespace.SOAProperty>
- Enclosing interface:
- CfnPrivateDnsNamespace.SOAProperty
@Stability(Stable)
public static final class CfnPrivateDnsNamespace.SOAProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateDnsNamespace.SOAProperty>
A builder for
CfnPrivateDnsNamespace.SOAProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPrivateDnsNamespace.SOAProperty.getTtl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ttl
Sets the value ofCfnPrivateDnsNamespace.SOAProperty.getTtl()
- Parameters:
ttl
- The time to live (TTL) for purposes of negative caching.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPrivateDnsNamespace.SOAProperty>
- Returns:
- a new instance of
CfnPrivateDnsNamespace.SOAProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-