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