#[non_exhaustive]pub struct ResolverRuleAssociationBuilder { /* private fields */ }
Expand description
A builder for ResolverRuleAssociation
.
Implementations§
source§impl ResolverRuleAssociationBuilder
impl ResolverRuleAssociationBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
sourcepub fn resolver_rule_id(self, input: impl Into<String>) -> Self
pub fn resolver_rule_id(self, input: impl Into<String>) -> Self
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
sourcepub fn set_resolver_rule_id(self, input: Option<String>) -> Self
pub fn set_resolver_rule_id(self, input: Option<String>) -> Self
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of an association between a Resolver rule and a VPC.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of an association between a Resolver rule and a VPC.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC that you associated the Resolver rule with.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC that you associated the Resolver rule with.
sourcepub fn status(self, input: ResolverRuleAssociationStatus) -> Self
pub fn status(self, input: ResolverRuleAssociationStatus) -> Self
A code that specifies the current status of the association between a Resolver rule and a VPC.
sourcepub fn set_status(self, input: Option<ResolverRuleAssociationStatus>) -> Self
pub fn set_status(self, input: Option<ResolverRuleAssociationStatus>) -> Self
A code that specifies the current status of the association between a Resolver rule and a VPC.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A detailed description of the status of the association between a Resolver rule and a VPC.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A detailed description of the status of the association between a Resolver rule and a VPC.
sourcepub fn build(self) -> ResolverRuleAssociation
pub fn build(self) -> ResolverRuleAssociation
Consumes the builder and constructs a ResolverRuleAssociation
.
Trait Implementations§
source§impl Clone for ResolverRuleAssociationBuilder
impl Clone for ResolverRuleAssociationBuilder
source§fn clone(&self) -> ResolverRuleAssociationBuilder
fn clone(&self) -> ResolverRuleAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResolverRuleAssociationBuilder
impl Default for ResolverRuleAssociationBuilder
source§fn default() -> ResolverRuleAssociationBuilder
fn default() -> ResolverRuleAssociationBuilder
source§impl PartialEq<ResolverRuleAssociationBuilder> for ResolverRuleAssociationBuilder
impl PartialEq<ResolverRuleAssociationBuilder> for ResolverRuleAssociationBuilder
source§fn eq(&self, other: &ResolverRuleAssociationBuilder) -> bool
fn eq(&self, other: &ResolverRuleAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.