Class VpcEndpointServiceDomainNameProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53.VpcEndpointServiceDomainNameProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcEndpointServiceDomainNameProps>
- Enclosing interface:
VpcEndpointServiceDomainNameProps
@Stability(Stable)
public static final class VpcEndpointServiceDomainNameProps.Builder
extends Object
implements software.amazon.jsii.Builder<VpcEndpointServiceDomainNameProps>
A builder for
VpcEndpointServiceDomainNameProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) Sets the value ofVpcEndpointServiceDomainNameProps.getDomainName()
endpointService
(IVpcEndpointService endpointService) Sets the value ofVpcEndpointServiceDomainNameProps.getEndpointService()
publicHostedZone
(IPublicHostedZone publicHostedZone) Sets the value ofVpcEndpointServiceDomainNameProps.getPublicHostedZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofVpcEndpointServiceDomainNameProps.getDomainName()
- Parameters:
domainName
- The domain name to use. This parameter is required. 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.- Returns:
this
-
endpointService
@Stability(Stable) public VpcEndpointServiceDomainNameProps.Builder endpointService(IVpcEndpointService endpointService) Sets the value ofVpcEndpointServiceDomainNameProps.getEndpointService()
- Parameters:
endpointService
- The VPC Endpoint Service to configure Private DNS for. This parameter is required.- Returns:
this
-
publicHostedZone
@Stability(Stable) public VpcEndpointServiceDomainNameProps.Builder publicHostedZone(IPublicHostedZone publicHostedZone) Sets the value ofVpcEndpointServiceDomainNameProps.getPublicHostedZone()
- Parameters:
publicHostedZone
- The public hosted zone to use for the domain. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VpcEndpointServiceDomainNameProps>
- Returns:
- a new instance of
VpcEndpointServiceDomainNameProps
- Throws:
NullPointerException
- if any required attribute was not provided
-