#[non_exhaustive]pub struct RuleGroupVariablesBuilder { /* private fields */ }Expand description
A builder for RuleGroupVariables.
Implementations§
source§impl RuleGroupVariablesBuilder
impl RuleGroupVariablesBuilder
sourcepub fn ip_sets(self, input: RuleGroupVariablesIpSetsDetails) -> Self
pub fn ip_sets(self, input: RuleGroupVariablesIpSetsDetails) -> Self
A list of IP addresses and address ranges, in CIDR notation.
sourcepub fn set_ip_sets(self, input: Option<RuleGroupVariablesIpSetsDetails>) -> Self
pub fn set_ip_sets(self, input: Option<RuleGroupVariablesIpSetsDetails>) -> Self
A list of IP addresses and address ranges, in CIDR notation.
sourcepub fn port_sets(self, input: RuleGroupVariablesPortSetsDetails) -> Self
pub fn port_sets(self, input: RuleGroupVariablesPortSetsDetails) -> Self
A list of port ranges.
sourcepub fn set_port_sets(
self,
input: Option<RuleGroupVariablesPortSetsDetails>
) -> Self
pub fn set_port_sets( self, input: Option<RuleGroupVariablesPortSetsDetails> ) -> Self
A list of port ranges.
sourcepub fn build(self) -> RuleGroupVariables
pub fn build(self) -> RuleGroupVariables
Consumes the builder and constructs a RuleGroupVariables.
Trait Implementations§
source§impl Clone for RuleGroupVariablesBuilder
impl Clone for RuleGroupVariablesBuilder
source§fn clone(&self) -> RuleGroupVariablesBuilder
fn clone(&self) -> RuleGroupVariablesBuilder
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 RuleGroupVariablesBuilder
impl Debug for RuleGroupVariablesBuilder
source§impl Default for RuleGroupVariablesBuilder
impl Default for RuleGroupVariablesBuilder
source§fn default() -> RuleGroupVariablesBuilder
fn default() -> RuleGroupVariablesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RuleGroupVariablesBuilder> for RuleGroupVariablesBuilder
impl PartialEq<RuleGroupVariablesBuilder> for RuleGroupVariablesBuilder
source§fn eq(&self, other: &RuleGroupVariablesBuilder) -> bool
fn eq(&self, other: &RuleGroupVariablesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.