pub struct Builder { /* private fields */ }Expand description
A builder for IpSet.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn ip_family(self, input: impl Into<String>) -> Self
👎Deprecated: IpFamily has been replaced by IpAddressFamily
pub fn ip_family(self, input: impl Into<String>) -> Self
IpFamily has been replaced by IpAddressFamily
IpFamily is deprecated and has been replaced by IpAddressFamily.
sourcepub fn set_ip_family(self, input: Option<String>) -> Self
👎Deprecated: IpFamily has been replaced by IpAddressFamily
pub fn set_ip_family(self, input: Option<String>) -> Self
IpFamily has been replaced by IpAddressFamily
IpFamily is deprecated and has been replaced by IpAddressFamily.
sourcepub fn ip_addresses(self, input: impl Into<String>) -> Self
pub fn ip_addresses(self, input: impl Into<String>) -> Self
Appends an item to ip_addresses.
To override the contents of this collection use set_ip_addresses.
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
sourcepub fn set_ip_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_ip_addresses(self, input: Option<Vec<String>>) -> Self
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
sourcepub fn ip_address_family(self, input: IpAddressFamily) -> Self
pub fn ip_address_family(self, input: IpAddressFamily) -> Self
The types of IP addresses included in this IP set.
sourcepub fn set_ip_address_family(self, input: Option<IpAddressFamily>) -> Self
pub fn set_ip_address_family(self, input: Option<IpAddressFamily>) -> Self
The types of IP addresses included in this IP set.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more