Class AlertmanagerWebSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerWebSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlertmanagerWebSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerWebSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerWebSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertmanagerWebSpec()No args constructor for use in serializationAlertmanagerWebSpec(Long getConcurrency, WebHTTPConfig httpConfig, Long timeout, WebTLSConfig tlsConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertmanagerWebSpecBuilderedit()Map<String,Object>getAdditionalProperties()LonggetGetConcurrency()Maximum number of GET requests processed concurrently.WebHTTPConfiggetHttpConfig()AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.LonggetTimeout()Timeout for HTTP requests.WebTLSConfiggetTlsConfig()AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGetConcurrency(Long getConcurrency)Maximum number of GET requests processed concurrently.voidsetHttpConfig(WebHTTPConfig httpConfig)AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.voidsetTimeout(Long timeout)Timeout for HTTP requests.voidsetTlsConfig(WebTLSConfig tlsConfig)AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.AlertmanagerWebSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
AlertmanagerWebSpec
public AlertmanagerWebSpec()
No args constructor for use in serialization
-
AlertmanagerWebSpec
public AlertmanagerWebSpec(Long getConcurrency, WebHTTPConfig httpConfig, Long timeout, WebTLSConfig tlsConfig)
-
-
Method Detail
-
getGetConcurrency
public Long getGetConcurrency()
Maximum number of GET requests processed concurrently. This corresponds to the Alertmanager's `--web.get-concurrency` flag.
-
setGetConcurrency
public void setGetConcurrency(Long getConcurrency)
Maximum number of GET requests processed concurrently. This corresponds to the Alertmanager's `--web.get-concurrency` flag.
-
getHttpConfig
public WebHTTPConfig getHttpConfig()
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.
-
setHttpConfig
public void setHttpConfig(WebHTTPConfig httpConfig)
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.
-
getTimeout
public Long getTimeout()
Timeout for HTTP requests. This corresponds to the Alertmanager's `--web.timeout` flag.
-
setTimeout
public void setTimeout(Long timeout)
Timeout for HTTP requests. This corresponds to the Alertmanager's `--web.timeout` flag.
-
getTlsConfig
public WebTLSConfig getTlsConfig()
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.
-
setTlsConfig
public void setTlsConfig(WebTLSConfig tlsConfig)
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.
-
edit
public AlertmanagerWebSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlertmanagerWebSpecBuilder>
-
toBuilder
public AlertmanagerWebSpecBuilder toBuilder()
-
-