Class V1NetworkPolicyPeer
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NetworkPolicyPeer
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NetworkPolicyPeer
extends Object
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Set ipBlock in a chainable fashion.namespaceSelector
(V1LabelSelector namespaceSelector) Set namespaceSelector in a chainable fashion.podSelector
(V1LabelSelector podSelector) Set podSelector in a chainable fashion.void
setIpBlock
(V1IPBlock ipBlock) Set the ipBlock property valuevoid
setNamespaceSelector
(V1LabelSelector namespaceSelector) Set the namespaceSelector property valuevoid
setPodSelector
(V1LabelSelector podSelector) Set the podSelector property valuetoString()
-
Field Details
-
JSON_PROPERTY_IP_BLOCK
- See Also:
-
JSON_PROPERTY_NAMESPACE_SELECTOR
- See Also:
-
JSON_PROPERTY_POD_SELECTOR
- See Also:
-
-
Constructor Details
-
V1NetworkPolicyPeer
public V1NetworkPolicyPeer()
-
-
Method Details
-
getIpBlock
- Returns:
- the ipBlock property value
-
setIpBlock
Set the ipBlock property value -
ipBlock
Set ipBlock in a chainable fashion.- Returns:
- The same instance of V1NetworkPolicyPeer for chaining.
-
getNamespaceSelector
- Returns:
- the namespaceSelector property value
-
setNamespaceSelector
Set the namespaceSelector property value -
namespaceSelector
Set namespaceSelector in a chainable fashion.- Returns:
- The same instance of V1NetworkPolicyPeer for chaining.
-
getPodSelector
- Returns:
- the podSelector property value
-
setPodSelector
Set the podSelector property value -
podSelector
Set podSelector in a chainable fashion.- Returns:
- The same instance of V1NetworkPolicyPeer for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-