Struct aws_sdk_ec2::types::builders::DnsOptionsSpecificationBuilder
source · #[non_exhaustive]pub struct DnsOptionsSpecificationBuilder { /* private fields */ }
Expand description
A builder for DnsOptionsSpecification
.
Implementations§
source§impl DnsOptionsSpecificationBuilder
impl DnsOptionsSpecificationBuilder
sourcepub fn dns_record_ip_type(self, input: DnsRecordIpType) -> Self
pub fn dns_record_ip_type(self, input: DnsRecordIpType) -> Self
The DNS records created for the endpoint.
sourcepub fn set_dns_record_ip_type(self, input: Option<DnsRecordIpType>) -> Self
pub fn set_dns_record_ip_type(self, input: Option<DnsRecordIpType>) -> Self
The DNS records created for the endpoint.
sourcepub fn get_dns_record_ip_type(&self) -> &Option<DnsRecordIpType>
pub fn get_dns_record_ip_type(&self) -> &Option<DnsRecordIpType>
The DNS records created for the endpoint.
sourcepub fn private_dns_only_for_inbound_resolver_endpoint(self, input: bool) -> Self
pub fn private_dns_only_for_inbound_resolver_endpoint(self, input: bool) -> Self
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.
sourcepub fn set_private_dns_only_for_inbound_resolver_endpoint(
self,
input: Option<bool>
) -> Self
pub fn set_private_dns_only_for_inbound_resolver_endpoint( self, input: Option<bool> ) -> Self
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.
sourcepub fn get_private_dns_only_for_inbound_resolver_endpoint(
&self
) -> &Option<bool>
pub fn get_private_dns_only_for_inbound_resolver_endpoint( &self ) -> &Option<bool>
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.
sourcepub fn build(self) -> DnsOptionsSpecification
pub fn build(self) -> DnsOptionsSpecification
Consumes the builder and constructs a DnsOptionsSpecification
.
Trait Implementations§
source§impl Clone for DnsOptionsSpecificationBuilder
impl Clone for DnsOptionsSpecificationBuilder
source§fn clone(&self) -> DnsOptionsSpecificationBuilder
fn clone(&self) -> DnsOptionsSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DnsOptionsSpecificationBuilder
impl Default for DnsOptionsSpecificationBuilder
source§fn default() -> DnsOptionsSpecificationBuilder
fn default() -> DnsOptionsSpecificationBuilder
source§impl PartialEq<DnsOptionsSpecificationBuilder> for DnsOptionsSpecificationBuilder
impl PartialEq<DnsOptionsSpecificationBuilder> for DnsOptionsSpecificationBuilder
source§fn eq(&self, other: &DnsOptionsSpecificationBuilder) -> bool
fn eq(&self, other: &DnsOptionsSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.