Struct aws_sdk_ec2::types::builders::DnsOptionsBuilder
source · #[non_exhaustive]pub struct DnsOptionsBuilder { /* private fields */ }Expand description
A builder for DnsOptions.
Implementations§
source§impl DnsOptionsBuilder
impl DnsOptionsBuilder
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 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.
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.
sourcepub fn build(self) -> DnsOptions
pub fn build(self) -> DnsOptions
Consumes the builder and constructs a DnsOptions.
Trait Implementations§
source§impl Clone for DnsOptionsBuilder
impl Clone for DnsOptionsBuilder
source§fn clone(&self) -> DnsOptionsBuilder
fn clone(&self) -> DnsOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DnsOptionsBuilder
impl Debug for DnsOptionsBuilder
source§impl Default for DnsOptionsBuilder
impl Default for DnsOptionsBuilder
source§fn default() -> DnsOptionsBuilder
fn default() -> DnsOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DnsOptionsBuilder> for DnsOptionsBuilder
impl PartialEq<DnsOptionsBuilder> for DnsOptionsBuilder
source§fn eq(&self, other: &DnsOptionsBuilder) -> bool
fn eq(&self, other: &DnsOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.