Class CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty>
- Enclosing interface:
CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty
@Stability(Stable)
public static final class CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty>
A builder for
CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dnsRecordIpType(String dnsRecordIpType) privateDnsOnlyForInboundResolverEndpoint(String privateDnsOnlyForInboundResolverEndpoint) privateDnsPreference(String privateDnsPreference) privateDnsSpecifiedDomains(List<String> privateDnsSpecifiedDomains)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsRecordIpType
@Stability(Stable) public CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder dnsRecordIpType(String dnsRecordIpType) - Parameters:
dnsRecordIpType- The DNS records created for the endpoint.- Returns:
this
-
privateDnsOnlyForInboundResolverEndpoint
@Stability(Stable) public CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder privateDnsOnlyForInboundResolverEndpoint(String privateDnsOnlyForInboundResolverEndpoint) Sets the value ofCfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.getPrivateDnsOnlyForInboundResolverEndpoint()- Parameters:
privateDnsOnlyForInboundResolverEndpoint- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.- Returns:
this
-
privateDnsPreference
@Stability(Stable) public CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder privateDnsPreference(String privateDnsPreference) Sets the value ofCfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.getPrivateDnsPreference()- Parameters:
privateDnsPreference- The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.- Returns:
this
-
privateDnsSpecifiedDomains
@Stability(Stable) public CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.Builder privateDnsSpecifiedDomains(List<String> privateDnsSpecifiedDomains) Sets the value ofCfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty.getPrivateDnsSpecifiedDomains()- Parameters:
privateDnsSpecifiedDomains- Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference isVERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty>- Returns:
- a new instance of
CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-