Interface DnsOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DnsOptions.Builder,DnsOptions>,SdkBuilder<DnsOptions.Builder,DnsOptions>,SdkPojo
- Enclosing class:
- DnsOptions
@Mutable @NotThreadSafe public static interface DnsOptions.Builder extends SdkPojo, CopyableBuilder<DnsOptions.Builder,DnsOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsOptions.BuilderdnsRecordIpType(String dnsRecordIpType)The DNS records created for the endpoint.DnsOptions.BuilderdnsRecordIpType(DnsRecordIpType dnsRecordIpType)The DNS records created for the endpoint.DnsOptions.BuilderprivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)Indicates whether to enable private DNS only for inbound endpoints.DnsOptions.BuilderprivateDnsPreference(String privateDnsPreference)The preference for which private domains have a private hosted zone created for and associated with the specified VPC.DnsOptions.BuilderprivateDnsSpecifiedDomains(String... privateDnsSpecifiedDomains)Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.DnsOptions.BuilderprivateDnsSpecifiedDomains(Collection<String> privateDnsSpecifiedDomains)Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dnsRecordIpType
DnsOptions.Builder dnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
- Parameters:
dnsRecordIpType- The DNS records created for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordIpType,DnsRecordIpType
-
dnsRecordIpType
DnsOptions.Builder dnsRecordIpType(DnsRecordIpType dnsRecordIpType)
The DNS records created for the endpoint.
- Parameters:
dnsRecordIpType- The DNS records created for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordIpType,DnsRecordIpType
-
privateDnsOnlyForInboundResolverEndpoint
DnsOptions.Builder privateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints.
- Parameters:
privateDnsOnlyForInboundResolverEndpoint- Indicates whether to enable private DNS only for inbound endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsPreference
DnsOptions.Builder privateDnsPreference(String 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.
-
ALL_DOMAINS- VPC Lattice provisions private hosted zones for all custom domain names. -
VERIFIED_DOMAINS_ONLY- VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider. -
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS- VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter. -
SPECIFIED_DOMAINS_ONLY- VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.
- 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.-
ALL_DOMAINS- VPC Lattice provisions private hosted zones for all custom domain names. -
VERIFIED_DOMAINS_ONLY- VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider. -
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS- VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter. -
SPECIFIED_DOMAINS_ONLY- VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
privateDnsSpecifiedDomains
DnsOptions.Builder privateDnsSpecifiedDomains(Collection<String> 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 is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsSpecifiedDomains
DnsOptions.Builder privateDnsSpecifiedDomains(String... 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 is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-