Struct aws_sdk_waf::types::builders::IpSetBuilder
source · #[non_exhaustive]pub struct IpSetBuilder { /* private fields */ }Expand description
A builder for IpSet.
Implementations§
source§impl IpSetBuilder
impl IpSetBuilder
sourcepub fn ip_set_id(self, input: impl Into<String>) -> Self
pub fn ip_set_id(self, input: impl Into<String>) -> Self
The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).
IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn set_ip_set_id(self, input: Option<String>) -> Self
pub fn set_ip_set_id(self, input: Option<String>) -> Self
The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).
IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn get_ip_set_id(&self) -> &Option<String>
pub fn get_ip_set_id(&self) -> &Option<String>
The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).
IPSetId is returned by CreateIPSet and by ListIPSets.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.
sourcepub fn ip_set_descriptors(self, input: IpSetDescriptor) -> Self
pub fn ip_set_descriptors(self, input: IpSetDescriptor) -> Self
Appends an item to ip_set_descriptors.
To override the contents of this collection use set_ip_set_descriptors.
The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.
sourcepub fn set_ip_set_descriptors(self, input: Option<Vec<IpSetDescriptor>>) -> Self
pub fn set_ip_set_descriptors(self, input: Option<Vec<IpSetDescriptor>>) -> Self
The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.
sourcepub fn get_ip_set_descriptors(&self) -> &Option<Vec<IpSetDescriptor>>
pub fn get_ip_set_descriptors(&self) -> &Option<Vec<IpSetDescriptor>>
The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.
Trait Implementations§
source§impl Clone for IpSetBuilder
impl Clone for IpSetBuilder
source§fn clone(&self) -> IpSetBuilder
fn clone(&self) -> IpSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IpSetBuilder
impl Debug for IpSetBuilder
source§impl Default for IpSetBuilder
impl Default for IpSetBuilder
source§fn default() -> IpSetBuilder
fn default() -> IpSetBuilder
source§impl PartialEq<IpSetBuilder> for IpSetBuilder
impl PartialEq<IpSetBuilder> for IpSetBuilder
source§fn eq(&self, other: &IpSetBuilder) -> bool
fn eq(&self, other: &IpSetBuilder) -> bool
self and other values to be equal, and is used
by ==.