Struct aws_sdk_networkfirewall::model::cidr_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CidrSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn available_cidr_count(self, input: i32) -> Self
pub fn available_cidr_count(self, input: i32) -> Self
The number of CIDR blocks available for use by the IP set references in a firewall.
sourcepub fn set_available_cidr_count(self, input: Option<i32>) -> Self
pub fn set_available_cidr_count(self, input: Option<i32>) -> Self
The number of CIDR blocks available for use by the IP set references in a firewall.
sourcepub fn utilized_cidr_count(self, input: i32) -> Self
pub fn utilized_cidr_count(self, input: i32) -> Self
The number of CIDR blocks used by the IP set references in a firewall.
sourcepub fn set_utilized_cidr_count(self, input: Option<i32>) -> Self
pub fn set_utilized_cidr_count(self, input: Option<i32>) -> Self
The number of CIDR blocks used by the IP set references in a firewall.
sourcepub fn ip_set_references(self, k: impl Into<String>, v: IpSetMetadata) -> Self
pub fn ip_set_references(self, k: impl Into<String>, v: IpSetMetadata) -> Self
Adds a key-value pair to ip_set_references
.
To override the contents of this collection use set_ip_set_references
.
The list of the IP set references used by a firewall.
sourcepub fn set_ip_set_references(
self,
input: Option<HashMap<String, IpSetMetadata>>
) -> Self
pub fn set_ip_set_references(
self,
input: Option<HashMap<String, IpSetMetadata>>
) -> Self
The list of the IP set references used by a firewall.
sourcepub fn build(self) -> CidrSummary
pub fn build(self) -> CidrSummary
Consumes the builder and constructs a CidrSummary
.