#[non_exhaustive]pub struct ResolverRuleConfigBuilder { /* private fields */ }Expand description
A builder for ResolverRuleConfig.
Implementations§
source§impl ResolverRuleConfigBuilder
impl ResolverRuleConfigBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
sourcepub fn target_ips(self, input: TargetAddress) -> Self
pub fn target_ips(self, input: TargetAddress) -> Self
Appends an item to target_ips.
To override the contents of this collection use set_target_ips.
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
sourcepub fn set_target_ips(self, input: Option<Vec<TargetAddress>>) -> Self
pub fn set_target_ips(self, input: Option<Vec<TargetAddress>>) -> Self
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
sourcepub fn get_target_ips(&self) -> &Option<Vec<TargetAddress>>
pub fn get_target_ips(&self) -> &Option<Vec<TargetAddress>>
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
sourcepub fn resolver_endpoint_id(self, input: impl Into<String>) -> Self
pub fn resolver_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
sourcepub fn set_resolver_endpoint_id(self, input: Option<String>) -> Self
pub fn set_resolver_endpoint_id(self, input: Option<String>) -> Self
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
sourcepub fn get_resolver_endpoint_id(&self) -> &Option<String>
pub fn get_resolver_endpoint_id(&self) -> &Option<String>
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
sourcepub fn build(self) -> ResolverRuleConfig
pub fn build(self) -> ResolverRuleConfig
Consumes the builder and constructs a ResolverRuleConfig.
Trait Implementations§
source§impl Clone for ResolverRuleConfigBuilder
impl Clone for ResolverRuleConfigBuilder
source§fn clone(&self) -> ResolverRuleConfigBuilder
fn clone(&self) -> ResolverRuleConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResolverRuleConfigBuilder
impl Debug for ResolverRuleConfigBuilder
source§impl Default for ResolverRuleConfigBuilder
impl Default for ResolverRuleConfigBuilder
source§fn default() -> ResolverRuleConfigBuilder
fn default() -> ResolverRuleConfigBuilder
impl StructuralPartialEq for ResolverRuleConfigBuilder
Auto Trait Implementations§
impl Freeze for ResolverRuleConfigBuilder
impl RefUnwindSafe for ResolverRuleConfigBuilder
impl Send for ResolverRuleConfigBuilder
impl Sync for ResolverRuleConfigBuilder
impl Unpin for ResolverRuleConfigBuilder
impl UnwindSafe for ResolverRuleConfigBuilder
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