Struct aws_sdk_waf::types::IpSetUpdate
source · #[non_exhaustive]pub struct IpSetUpdate {
pub action: ChangeAction,
pub ip_set_descriptor: Option<IpSetDescriptor>,
}Expand description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Specifies the type of update to perform to an IPSet with UpdateIPSet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: ChangeActionSpecifies whether to insert or delete an IP address with UpdateIPSet.
ip_set_descriptor: Option<IpSetDescriptor>The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from.
Implementations§
source§impl IpSetUpdate
impl IpSetUpdate
sourcepub fn action(&self) -> &ChangeAction
pub fn action(&self) -> &ChangeAction
Specifies whether to insert or delete an IP address with UpdateIPSet.
sourcepub fn ip_set_descriptor(&self) -> Option<&IpSetDescriptor>
pub fn ip_set_descriptor(&self) -> Option<&IpSetDescriptor>
The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from.
source§impl IpSetUpdate
impl IpSetUpdate
sourcepub fn builder() -> IpSetUpdateBuilder
pub fn builder() -> IpSetUpdateBuilder
Creates a new builder-style object to manufacture IpSetUpdate.
Trait Implementations§
source§impl Clone for IpSetUpdate
impl Clone for IpSetUpdate
source§fn clone(&self) -> IpSetUpdate
fn clone(&self) -> IpSetUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IpSetUpdate
impl Debug for IpSetUpdate
source§impl PartialEq for IpSetUpdate
impl PartialEq for IpSetUpdate
source§fn eq(&self, other: &IpSetUpdate) -> bool
fn eq(&self, other: &IpSetUpdate) -> bool
self and other values to be equal, and is used
by ==.