Class EgressNetworkPolicyRule
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.network.v1.EgressNetworkPolicyRule
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyRuleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EgressNetworkPolicyRule extends Object implements io.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EgressNetworkPolicyRule contains a single egress network policy rule- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EgressNetworkPolicyRule()No args constructor for use in serializationEgressNetworkPolicyRule(EgressNetworkPolicyPeer to, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgressNetworkPolicyRuleBuilderedit()Map<String,Object>getAdditionalProperties()EgressNetworkPolicyPeergetTo()EgressNetworkPolicyRule contains a single egress network policy ruleStringgetType()type marks this as an "Allow" or "Deny" rulevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTo(EgressNetworkPolicyPeer to)EgressNetworkPolicyRule contains a single egress network policy rulevoidsetType(String type)type marks this as an "Allow" or "Deny" ruleEgressNetworkPolicyRuleBuildertoBuilder()
-
-
-
Constructor Detail
-
EgressNetworkPolicyRule
public EgressNetworkPolicyRule()
No args constructor for use in serialization
-
EgressNetworkPolicyRule
public EgressNetworkPolicyRule(EgressNetworkPolicyPeer to, String type)
-
-
Method Detail
-
getTo
public EgressNetworkPolicyPeer getTo()
EgressNetworkPolicyRule contains a single egress network policy rule
-
setTo
public void setTo(EgressNetworkPolicyPeer to)
EgressNetworkPolicyRule contains a single egress network policy rule
-
getType
public String getType()
type marks this as an "Allow" or "Deny" rule
-
setType
public void setType(String type)
type marks this as an "Allow" or "Deny" rule
-
edit
public EgressNetworkPolicyRuleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyRuleBuilder>
-
toBuilder
public EgressNetworkPolicyRuleBuilder toBuilder()
-
-