Class EgressNetworkPolicyList
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.network.v1.EgressNetworkPolicyList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyListBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.KubernetesResourceList<EgressNetworkPolicy>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EgressNetworkPolicyList extends Object implements io.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<EgressNetworkPolicy>
EgressNetworkPolicyList is a collection of EgressNetworkPolicyCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EgressNetworkPolicyList()No args constructor for use in serializationEgressNetworkPolicyList(String apiVersion, List<EgressNetworkPolicy> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgressNetworkPolicyListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<EgressNetworkPolicy>getItems()items is the list of policiesStringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ListMetagetMetadata()EgressNetworkPolicyList is a collection of EgressNetworkPolicyvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<EgressNetworkPolicy> items)items is the list of policiesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)EgressNetworkPolicyList is a collection of EgressNetworkPolicyEgressNetworkPolicyListBuildertoBuilder()
-
-
-
Constructor Detail
-
EgressNetworkPolicyList
public EgressNetworkPolicyList()
No args constructor for use in serialization
-
EgressNetworkPolicyList
public EgressNetworkPolicyList(String apiVersion, List<EgressNetworkPolicy> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getItems
public List<EgressNetworkPolicy> getItems()
items is the list of policies- Specified by:
getItemsin interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<EgressNetworkPolicy>
-
setItems
public void setItems(List<EgressNetworkPolicy> items)
items is the list of policies
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public io.fabric8.kubernetes.api.model.ListMeta getMetadata()
EgressNetworkPolicyList is a collection of EgressNetworkPolicyCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<EgressNetworkPolicy>
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
EgressNetworkPolicyList is a collection of EgressNetworkPolicyCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
edit
public EgressNetworkPolicyListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EgressNetworkPolicyListBuilder>
-
toBuilder
public EgressNetworkPolicyListBuilder toBuilder()
-
-