Package net.stickycode.kuuty.model.v18
Class IoK8sApiNetworkingV1IPBlock
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiNetworkingV1IPBlock
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiNetworkingV1IPBlock extends Object
IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CIDRstatic StringJSON_PROPERTY_EXCEPT
-
Constructor Summary
Constructors Constructor Description IoK8sApiNetworkingV1IPBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiNetworkingV1IPBlockaddExceptItem(String exceptItem)IoK8sApiNetworkingV1IPBlockcidr(String cidr)booleanequals(Object o)IoK8sApiNetworkingV1IPBlockexcept(List<String> except)StringgetCidr()CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"List<String>getExcept()Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR rangeinthashCode()voidsetCidr(String cidr)voidsetExcept(List<String> except)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CIDR
public static final String JSON_PROPERTY_CIDR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXCEPT
public static final String JSON_PROPERTY_EXCEPT
- See Also:
- Constant Field Values
-
-
Method Detail
-
cidr
public IoK8sApiNetworkingV1IPBlock cidr(String cidr)
-
getCidr
public String getCidr()
CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"- Returns:
- cidr
-
setCidr
public void setCidr(String cidr)
-
except
public IoK8sApiNetworkingV1IPBlock except(List<String> except)
-
addExceptItem
public IoK8sApiNetworkingV1IPBlock addExceptItem(String exceptItem)
-
getExcept
@Nullable public List<String> getExcept()
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range- Returns:
- except
-
-