Class AlertmanagerList
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlertmanagerListBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.KubernetesResourceList<Alertmanager>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerList extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<Alertmanager>
AlertmanagerList is a list of Alertmanagers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertmanagerList()No args constructor for use in serializationAlertmanagerList(String apiVersion, List<Alertmanager> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertmanagerListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Alertmanager>getItems()List of AlertmanagersStringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ListMetagetMetadata()AlertmanagerList is a list of Alertmanagers.voidsetAdditionalProperties(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<Alertmanager> items)List of AlertmanagersvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)AlertmanagerList is a list of Alertmanagers.AlertmanagerListBuildertoBuilder()
-
-
-
Constructor Detail
-
AlertmanagerList
public AlertmanagerList()
No args constructor for use in serialization
-
AlertmanagerList
public AlertmanagerList(String apiVersion, List<Alertmanager> 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<Alertmanager> getItems()
List of Alertmanagers- Specified by:
getItemsin interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<Alertmanager>
-
setItems
public void setItems(List<Alertmanager> items)
List of Alertmanagers
-
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()
AlertmanagerList is a list of Alertmanagers.- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<Alertmanager>
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
AlertmanagerList is a list of Alertmanagers.
-
edit
public AlertmanagerListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlertmanagerListBuilder>
-
toBuilder
public AlertmanagerListBuilder toBuilder()
-
-