Class CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty>
- Enclosing interface:
CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty
@Stability(Stable)
public static final class CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) hostedZoneId(String hostedZoneId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
@Stability(Stable) public CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty.Builder domainName(String domainName) - Parameters:
domainName- The domain name of the service.- Returns:
this
-
hostedZoneId
@Stability(Stable) public CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty.Builder hostedZoneId(String hostedZoneId) - Parameters:
hostedZoneId- The ID of the hosted zone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty>- Returns:
- a new instance of
CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-