Class PrometheusWebSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusWebSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrometheusWebSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusWebSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrometheusWebSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PrometheusWebSpec defines the configuration of the Prometheus web server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrometheusWebSpec()No args constructor for use in serializationPrometheusWebSpec(WebHTTPConfig httpConfig, Integer maxConnections, String pageTitle, WebTLSConfig tlsConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusWebSpecBuilderedit()Map<String,Object>getAdditionalProperties()WebHTTPConfiggetHttpConfig()PrometheusWebSpec defines the configuration of the Prometheus web server.IntegergetMaxConnections()Defines the maximum number of simultaneous connections A zero value means that Prometheus doesn't accept any incoming connection.StringgetPageTitle()The prometheus web page title.WebTLSConfiggetTlsConfig()PrometheusWebSpec defines the configuration of the Prometheus web server.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHttpConfig(WebHTTPConfig httpConfig)PrometheusWebSpec defines the configuration of the Prometheus web server.voidsetMaxConnections(Integer maxConnections)Defines the maximum number of simultaneous connections A zero value means that Prometheus doesn't accept any incoming connection.voidsetPageTitle(String pageTitle)The prometheus web page title.voidsetTlsConfig(WebTLSConfig tlsConfig)PrometheusWebSpec defines the configuration of the Prometheus web server.PrometheusWebSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
PrometheusWebSpec
public PrometheusWebSpec()
No args constructor for use in serialization
-
PrometheusWebSpec
public PrometheusWebSpec(WebHTTPConfig httpConfig, Integer maxConnections, String pageTitle, WebTLSConfig tlsConfig)
-
-
Method Detail
-
getHttpConfig
public WebHTTPConfig getHttpConfig()
PrometheusWebSpec defines the configuration of the Prometheus web server.
-
setHttpConfig
public void setHttpConfig(WebHTTPConfig httpConfig)
PrometheusWebSpec defines the configuration of the Prometheus web server.
-
getMaxConnections
public Integer getMaxConnections()
Defines the maximum number of simultaneous connections A zero value means that Prometheus doesn't accept any incoming connection.
-
setMaxConnections
public void setMaxConnections(Integer maxConnections)
Defines the maximum number of simultaneous connections A zero value means that Prometheus doesn't accept any incoming connection.
-
getPageTitle
public String getPageTitle()
The prometheus web page title.
-
setPageTitle
public void setPageTitle(String pageTitle)
The prometheus web page title.
-
getTlsConfig
public WebTLSConfig getTlsConfig()
PrometheusWebSpec defines the configuration of the Prometheus web server.
-
setTlsConfig
public void setTlsConfig(WebTLSConfig tlsConfig)
PrometheusWebSpec defines the configuration of the Prometheus web server.
-
edit
public PrometheusWebSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrometheusWebSpecBuilder>
-
toBuilder
public PrometheusWebSpecBuilder toBuilder()
-
-