Class HTTPConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.HTTPConfig
-
- All Implemented Interfaces:
Editable<HTTPConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HTTPConfig extends Object implements Editable<HTTPConfigBuilder>, KubernetesResource
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPConfig()No args constructor for use in serializationHTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean followRedirects, OAuth2 oauth2, SafeTLSConfig tlsConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPConfigBuilderedit()Map<String,Object>getAdditionalProperties()SafeAuthorizationgetAuthorization()HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).BasicAuthgetBasicAuth()HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).SecretKeySelectorgetBearerTokenSecret()HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).BooleangetEnableHttp2()enableHttp2 can be used to disable HTTP2.BooleangetFollowRedirects()followRedirects defines whether the client should follow HTTP 3xx redirects.OAuth2getOauth2()HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).SafeTLSConfiggetTlsConfig()HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthorization(SafeAuthorization authorization)HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).voidsetBasicAuth(BasicAuth basicAuth)HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).voidsetBearerTokenSecret(SecretKeySelector bearerTokenSecret)HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).voidsetEnableHttp2(Boolean enableHttp2)enableHttp2 can be used to disable HTTP2.voidsetFollowRedirects(Boolean followRedirects)followRedirects defines whether the client should follow HTTP 3xx redirects.voidsetOauth2(OAuth2 oauth2)HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).voidsetTlsConfig(SafeTLSConfig tlsConfig)HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).HTTPConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
HTTPConfig
public HTTPConfig()
No args constructor for use in serialization
-
HTTPConfig
public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean followRedirects, OAuth2 oauth2, SafeTLSConfig tlsConfig)
-
-
Method Detail
-
getAuthorization
public SafeAuthorization getAuthorization()
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
setAuthorization
public void setAuthorization(SafeAuthorization authorization)
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
getBasicAuth
public BasicAuth getBasicAuth()
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
setBasicAuth
public void setBasicAuth(BasicAuth basicAuth)
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
getBearerTokenSecret
public SecretKeySelector getBearerTokenSecret()
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
setBearerTokenSecret
public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret)
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
getEnableHttp2
public Boolean getEnableHttp2()
enableHttp2 can be used to disable HTTP2.
-
setEnableHttp2
public void setEnableHttp2(Boolean enableHttp2)
enableHttp2 can be used to disable HTTP2.
-
getFollowRedirects
public Boolean getFollowRedirects()
followRedirects defines whether the client should follow HTTP 3xx redirects.
-
setFollowRedirects
public void setFollowRedirects(Boolean followRedirects)
followRedirects defines whether the client should follow HTTP 3xx redirects.
-
getOauth2
public OAuth2 getOauth2()
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
setOauth2
public void setOauth2(OAuth2 oauth2)
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
getTlsConfig
public SafeTLSConfig getTlsConfig()
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
setTlsConfig
public void setTlsConfig(SafeTLSConfig tlsConfig)
HTTPConfig defines the HTTP configuration + TLS configuration (only from secret/configmap references).
-
edit
public HTTPConfigBuilder edit()
- Specified by:
editin interfaceEditable<HTTPConfigBuilder>
-
toBuilder
public HTTPConfigBuilder toBuilder()
-
-