public class ComGithubAppscodeKubeMonApiPrometheusSpec extends Object
| Constructor and Description |
|---|
ComGithubAppscodeKubeMonApiPrometheusSpec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getInterval()
Interval at which metrics should be scraped
|
Map<String,String> |
getLabels()
Labels are key value pairs that is used to select Prometheus instance via ServiceMonitor labels.
|
String |
getNamespace()
Namespace of Prometheus.
|
Integer |
getPort()
Port number for the exporter side car.
|
int |
hashCode() |
ComGithubAppscodeKubeMonApiPrometheusSpec |
interval(String interval) |
ComGithubAppscodeKubeMonApiPrometheusSpec |
labels(Map<String,String> labels) |
ComGithubAppscodeKubeMonApiPrometheusSpec |
namespace(String namespace) |
ComGithubAppscodeKubeMonApiPrometheusSpec |
port(Integer port) |
ComGithubAppscodeKubeMonApiPrometheusSpec |
putLabelsItem(String key,
String labelsItem) |
void |
setInterval(String interval) |
void |
setLabels(Map<String,String> labels) |
void |
setNamespace(String namespace) |
void |
setPort(Integer port) |
String |
toString() |
public ComGithubAppscodeKubeMonApiPrometheusSpec()
public ComGithubAppscodeKubeMonApiPrometheusSpec interval(String interval)
public String getInterval()
public void setInterval(String interval)
public ComGithubAppscodeKubeMonApiPrometheusSpec labels(Map<String,String> labels)
public ComGithubAppscodeKubeMonApiPrometheusSpec putLabelsItem(String key, String labelsItem)
public Map<String,String> getLabels()
public ComGithubAppscodeKubeMonApiPrometheusSpec namespace(String namespace)
public String getNamespace()
public void setNamespace(String namespace)
public ComGithubAppscodeKubeMonApiPrometheusSpec port(Integer port)
public Integer getPort()
public void setPort(Integer port)
Copyright © 2018. All rights reserved.