#[non_exhaustive]pub struct RateBasedStatementManagedKeysIpSetBuilder { /* private fields */ }
Expand description
A builder for RateBasedStatementManagedKeysIpSet
.
Implementations§
source§impl RateBasedStatementManagedKeysIpSetBuilder
impl RateBasedStatementManagedKeysIpSetBuilder
sourcepub fn ip_address_version(self, input: IpAddressVersion) -> Self
pub fn ip_address_version(self, input: IpAddressVersion) -> Self
The version of the IP addresses, either IPV4
or IPV6
.
sourcepub fn set_ip_address_version(self, input: Option<IpAddressVersion>) -> Self
pub fn set_ip_address_version(self, input: Option<IpAddressVersion>) -> Self
The version of the IP addresses, either IPV4
or IPV6
.
sourcepub fn get_ip_address_version(&self) -> &Option<IpAddressVersion>
pub fn get_ip_address_version(&self) -> &Option<IpAddressVersion>
The version of the IP addresses, either IPV4
or IPV6
.
sourcepub fn addresses(self, input: impl Into<String>) -> Self
pub fn addresses(self, input: impl Into<String>) -> Self
Appends an item to addresses
.
To override the contents of this collection use set_addresses
.
The IP addresses that are currently blocked.
sourcepub fn set_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_addresses(self, input: Option<Vec<String>>) -> Self
The IP addresses that are currently blocked.
sourcepub fn get_addresses(&self) -> &Option<Vec<String>>
pub fn get_addresses(&self) -> &Option<Vec<String>>
The IP addresses that are currently blocked.
sourcepub fn build(self) -> RateBasedStatementManagedKeysIpSet
pub fn build(self) -> RateBasedStatementManagedKeysIpSet
Consumes the builder and constructs a RateBasedStatementManagedKeysIpSet
.
Trait Implementations§
source§impl Clone for RateBasedStatementManagedKeysIpSetBuilder
impl Clone for RateBasedStatementManagedKeysIpSetBuilder
source§fn clone(&self) -> RateBasedStatementManagedKeysIpSetBuilder
fn clone(&self) -> RateBasedStatementManagedKeysIpSetBuilder
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 Default for RateBasedStatementManagedKeysIpSetBuilder
impl Default for RateBasedStatementManagedKeysIpSetBuilder
source§fn default() -> RateBasedStatementManagedKeysIpSetBuilder
fn default() -> RateBasedStatementManagedKeysIpSetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RateBasedStatementManagedKeysIpSetBuilder
impl PartialEq for RateBasedStatementManagedKeysIpSetBuilder
source§fn eq(&self, other: &RateBasedStatementManagedKeysIpSetBuilder) -> bool
fn eq(&self, other: &RateBasedStatementManagedKeysIpSetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RateBasedStatementManagedKeysIpSetBuilder
Auto Trait Implementations§
impl Freeze for RateBasedStatementManagedKeysIpSetBuilder
impl RefUnwindSafe for RateBasedStatementManagedKeysIpSetBuilder
impl Send for RateBasedStatementManagedKeysIpSetBuilder
impl Sync for RateBasedStatementManagedKeysIpSetBuilder
impl Unpin for RateBasedStatementManagedKeysIpSetBuilder
impl UnwindSafe for RateBasedStatementManagedKeysIpSetBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.