public static final class VpcEndpointServiceDomainNameProps.Builder
extends java.lang.Object
VpcEndpointServiceDomainNameProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VpcEndpointServiceDomainNameProps |
build()
Builds the configured instance.
|
VpcEndpointServiceDomainNameProps.Builder |
domainName(java.lang.String domainName)
Sets the value of
VpcEndpointServiceDomainNameProps.getDomainName() |
VpcEndpointServiceDomainNameProps.Builder |
endpointService(IVpcEndpointService endpointService)
Sets the value of
VpcEndpointServiceDomainNameProps.getEndpointService() |
VpcEndpointServiceDomainNameProps.Builder |
publicHostedZone(IPublicHostedZone publicHostedZone)
Sets the value of
VpcEndpointServiceDomainNameProps.getPublicHostedZone() |
public VpcEndpointServiceDomainNameProps.Builder domainName(java.lang.String domainName)
VpcEndpointServiceDomainNameProps.getDomainName()
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.this
public VpcEndpointServiceDomainNameProps.Builder endpointService(IVpcEndpointService endpointService)
VpcEndpointServiceDomainNameProps.getEndpointService()
endpointService
- The VPC Endpoint Service to configure Private DNS for. This parameter is required.this
public VpcEndpointServiceDomainNameProps.Builder publicHostedZone(IPublicHostedZone publicHostedZone)
VpcEndpointServiceDomainNameProps.getPublicHostedZone()
publicHostedZone
- The public hosted zone to use for the domain. This parameter is required.this
public VpcEndpointServiceDomainNameProps build()
VpcEndpointServiceDomainNameProps
java.lang.NullPointerException
- if any required attribute was not provided