public class PrometheusDatacollectionConfig extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}collection" maxOccurs="unbounded"/> <element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}group" maxOccurs="unbounded"/> </sequence> <attribute name="rrdRepository" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Collection> |
collection |
protected List<Group> |
group |
protected String |
rrdRepository |
Constructor and Description |
---|
PrometheusDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<Collection> |
getCollection()
Gets the value of the collection property.
|
List<Group> |
getGroup()
Gets the value of the group property.
|
String |
getRrdRepository()
Gets the value of the rrdRepository property.
|
int |
hashCode() |
PrometheusDatacollectionConfig |
merge(PrometheusDatacollectionConfig other) |
void |
setRrdRepository(String value)
Sets the value of the rrdRepository property.
|
protected List<Collection> collection
protected String rrdRepository
public List<Collection> getCollection()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the collection property.
For example, to add a new item, do as follows:
getCollection().add(newItem);
Objects of the following type(s) are allowed in the list
Collection
public List<Group> getGroup()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the group property.
For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
Group
public String getRrdRepository()
String
public void setRrdRepository(String value)
value
- allowed object is
String
public PrometheusDatacollectionConfig merge(PrometheusDatacollectionConfig other)
Copyright © 2021. All rights reserved.