Class VpcEndpointServiceDomainName.Builder
java.lang.Object
software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcEndpointServiceDomainName>
- Enclosing class:
VpcEndpointServiceDomainName
@Stability(Stable)
public static final class VpcEndpointServiceDomainName.Builder
extends Object
implements software.amazon.jsii.Builder<VpcEndpointServiceDomainName>
A fluent builder for
VpcEndpointServiceDomainName
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
domainName
(String domainName) The domain name to use.endpointService
(IVpcEndpointService endpointService) The VPC Endpoint Service to configure Private DNS for.publicHostedZone
(IPublicHostedZone publicHostedZone) The public hosted zone to use for the domain.
-
Method Details
-
create
@Stability(Stable) public static VpcEndpointServiceDomainName.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
VpcEndpointServiceDomainName.Builder
.
-
domainName
The domain name to use.This domain name must be owned by this account (registered through Route53), or delegated to this account. Domain ownership will be verified by AWS before private DNS can be used.
- Parameters:
domainName
- The domain name to use. This parameter is required.- Returns:
this
- See Also:
-
endpointService
@Stability(Stable) public VpcEndpointServiceDomainName.Builder endpointService(IVpcEndpointService endpointService) The VPC Endpoint Service to configure Private DNS for.- Parameters:
endpointService
- The VPC Endpoint Service to configure Private DNS for. This parameter is required.- Returns:
this
-
publicHostedZone
@Stability(Stable) public VpcEndpointServiceDomainName.Builder publicHostedZone(IPublicHostedZone publicHostedZone) The public hosted zone to use for the domain.- Parameters:
publicHostedZone
- The public hosted zone to use for the domain. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VpcEndpointServiceDomainName>
- Returns:
- a newly built instance of
VpcEndpointServiceDomainName
.
-