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<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 ==
.impl StructuralPartialEq for DnsOptionsBuilder
Auto Trait Implementations§
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