@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CIDRSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summarizes the CIDR blocks used by the IP set references in a firewall. Network Firewall calculates the number of CIDRs by taking an aggregated count of all CIDRs used by the IP sets you are referencing.
Constructor and Description |
---|
CIDRSummary() |
Modifier and Type | Method and Description |
---|---|
CIDRSummary |
addIPSetReferencesEntry(String key,
IPSetMetadata value)
Add a single IPSetReferences entry
|
CIDRSummary |
clearIPSetReferencesEntries()
Removes all the entries added into IPSetReferences.
|
CIDRSummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getAvailableCIDRCount()
The number of CIDR blocks available for use by the IP set references in a firewall.
|
Map<String,IPSetMetadata> |
getIPSetReferences()
The list of the IP set references used by a firewall.
|
Integer |
getUtilizedCIDRCount()
The number of CIDR blocks used by the IP set references in a firewall.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailableCIDRCount(Integer availableCIDRCount)
The number of CIDR blocks available for use by the IP set references in a firewall.
|
void |
setIPSetReferences(Map<String,IPSetMetadata> iPSetReferences)
The list of the IP set references used by a firewall.
|
void |
setUtilizedCIDRCount(Integer utilizedCIDRCount)
The number of CIDR blocks used by the IP set references in a firewall.
|
String |
toString()
Returns a string representation of this object.
|
CIDRSummary |
withAvailableCIDRCount(Integer availableCIDRCount)
The number of CIDR blocks available for use by the IP set references in a firewall.
|
CIDRSummary |
withIPSetReferences(Map<String,IPSetMetadata> iPSetReferences)
The list of the IP set references used by a firewall.
|
CIDRSummary |
withUtilizedCIDRCount(Integer utilizedCIDRCount)
The number of CIDR blocks used by the IP set references in a firewall.
|
public void setAvailableCIDRCount(Integer availableCIDRCount)
The number of CIDR blocks available for use by the IP set references in a firewall.
availableCIDRCount
- The number of CIDR blocks available for use by the IP set references in a firewall.public Integer getAvailableCIDRCount()
The number of CIDR blocks available for use by the IP set references in a firewall.
public CIDRSummary withAvailableCIDRCount(Integer availableCIDRCount)
The number of CIDR blocks available for use by the IP set references in a firewall.
availableCIDRCount
- The number of CIDR blocks available for use by the IP set references in a firewall.public void setUtilizedCIDRCount(Integer utilizedCIDRCount)
The number of CIDR blocks used by the IP set references in a firewall.
utilizedCIDRCount
- The number of CIDR blocks used by the IP set references in a firewall.public Integer getUtilizedCIDRCount()
The number of CIDR blocks used by the IP set references in a firewall.
public CIDRSummary withUtilizedCIDRCount(Integer utilizedCIDRCount)
The number of CIDR blocks used by the IP set references in a firewall.
utilizedCIDRCount
- The number of CIDR blocks used by the IP set references in a firewall.public Map<String,IPSetMetadata> getIPSetReferences()
The list of the IP set references used by a firewall.
public void setIPSetReferences(Map<String,IPSetMetadata> iPSetReferences)
The list of the IP set references used by a firewall.
iPSetReferences
- The list of the IP set references used by a firewall.public CIDRSummary withIPSetReferences(Map<String,IPSetMetadata> iPSetReferences)
The list of the IP set references used by a firewall.
iPSetReferences
- The list of the IP set references used by a firewall.public CIDRSummary addIPSetReferencesEntry(String key, IPSetMetadata value)
public CIDRSummary clearIPSetReferencesEntries()
public String toString()
toString
in class Object
Object.toString()
public CIDRSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.