#[non_exhaustive]pub struct ResolverConfigBuilder { /* private fields */ }Expand description
A builder for ResolverConfig.
Implementations§
source§impl ResolverConfigBuilder
impl ResolverConfigBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The owner account ID of the Amazon Virtual Private Cloud VPC.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The owner account ID of the Amazon Virtual Private Cloud VPC.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The owner account ID of the Amazon Virtual Private Cloud VPC.
sourcepub fn autodefined_reverse(
self,
input: ResolverAutodefinedReverseStatus,
) -> Self
pub fn autodefined_reverse( self, input: ResolverAutodefinedReverseStatus, ) -> Self
The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following:
-
ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete.
-
ENABLED: Autodefined rules for reverse DNS lookups are enabled.
-
DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete.
-
DISABLED: Autodefined rules for reverse DNS lookups are disabled.
sourcepub fn set_autodefined_reverse(
self,
input: Option<ResolverAutodefinedReverseStatus>,
) -> Self
pub fn set_autodefined_reverse( self, input: Option<ResolverAutodefinedReverseStatus>, ) -> Self
The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following:
-
ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete.
-
ENABLED: Autodefined rules for reverse DNS lookups are enabled.
-
DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete.
-
DISABLED: Autodefined rules for reverse DNS lookups are disabled.
sourcepub fn get_autodefined_reverse(
&self,
) -> &Option<ResolverAutodefinedReverseStatus>
pub fn get_autodefined_reverse( &self, ) -> &Option<ResolverAutodefinedReverseStatus>
The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following:
-
ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete.
-
ENABLED: Autodefined rules for reverse DNS lookups are enabled.
-
DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete.
-
DISABLED: Autodefined rules for reverse DNS lookups are disabled.
sourcepub fn build(self) -> ResolverConfig
pub fn build(self) -> ResolverConfig
Consumes the builder and constructs a ResolverConfig.
Trait Implementations§
source§impl Clone for ResolverConfigBuilder
impl Clone for ResolverConfigBuilder
source§fn clone(&self) -> ResolverConfigBuilder
fn clone(&self) -> ResolverConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResolverConfigBuilder
impl Debug for ResolverConfigBuilder
source§impl Default for ResolverConfigBuilder
impl Default for ResolverConfigBuilder
source§fn default() -> ResolverConfigBuilder
fn default() -> ResolverConfigBuilder
source§impl PartialEq for ResolverConfigBuilder
impl PartialEq for ResolverConfigBuilder
impl StructuralPartialEq for ResolverConfigBuilder
Auto Trait Implementations§
impl Freeze for ResolverConfigBuilder
impl RefUnwindSafe for ResolverConfigBuilder
impl Send for ResolverConfigBuilder
impl Sync for ResolverConfigBuilder
impl Unpin for ResolverConfigBuilder
impl UnwindSafe for ResolverConfigBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more