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