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 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.
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 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.
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 for DnsOptionsBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DnsOptionsBuilder
Auto Trait Implementations§
impl Freeze for DnsOptionsBuilder
impl RefUnwindSafe for DnsOptionsBuilder
impl Send for DnsOptionsBuilder
impl Sync for DnsOptionsBuilder
impl Unpin for DnsOptionsBuilder
impl UnwindSafe for DnsOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.