#[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
source§impl PartialEq for ResolverRuleConfigBuilder
impl PartialEq for ResolverRuleConfigBuilder
source§fn eq(&self, other: &ResolverRuleConfigBuilder) -> bool
fn eq(&self, other: &ResolverRuleConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.