Class HTTPConfigWithoutTLS
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.HTTPConfigWithoutTLS
-
- All Implemented Interfaces:
Editable<HTTPConfigWithoutTLSBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HTTPConfigWithoutTLS extends Object implements Editable<HTTPConfigWithoutTLSBuilder>, KubernetesResource
HTTPConfigWithoutTLS defines the configuration for the HTTP client.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPConfigWithoutTLS()No args constructor for use in serializationHTTPConfigWithoutTLS(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean followRedirects, OAuth2 oauth2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPConfigWithoutTLSBuilderedit()Map<String,Object>getAdditionalProperties()SafeAuthorizationgetAuthorization()HTTPConfigWithoutTLS defines the configuration for the HTTP client.BasicAuthgetBasicAuth()HTTPConfigWithoutTLS defines the configuration for the HTTP client.SecretKeySelectorgetBearerTokenSecret()HTTPConfigWithoutTLS defines the configuration for the HTTP client.BooleangetEnableHttp2()enableHttp2 can be used to disable HTTP2.BooleangetFollowRedirects()followRedirects defines whether the client should follow HTTP 3xx redirects.OAuth2getOauth2()HTTPConfigWithoutTLS defines the configuration for the HTTP client.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthorization(SafeAuthorization authorization)HTTPConfigWithoutTLS defines the configuration for the HTTP client.voidsetBasicAuth(BasicAuth basicAuth)HTTPConfigWithoutTLS defines the configuration for the HTTP client.voidsetBearerTokenSecret(SecretKeySelector bearerTokenSecret)HTTPConfigWithoutTLS defines the configuration for the HTTP client.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)HTTPConfigWithoutTLS defines the configuration for the HTTP client.HTTPConfigWithoutTLSBuildertoBuilder()
-
-
-
Constructor Detail
-
HTTPConfigWithoutTLS
public HTTPConfigWithoutTLS()
No args constructor for use in serialization
-
HTTPConfigWithoutTLS
public HTTPConfigWithoutTLS(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean followRedirects, OAuth2 oauth2)
-
-
Method Detail
-
getAuthorization
public SafeAuthorization getAuthorization()
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
setAuthorization
public void setAuthorization(SafeAuthorization authorization)
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
getBasicAuth
public BasicAuth getBasicAuth()
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
setBasicAuth
public void setBasicAuth(BasicAuth basicAuth)
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
getBearerTokenSecret
public SecretKeySelector getBearerTokenSecret()
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
setBearerTokenSecret
public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret)
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
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()
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
setOauth2
public void setOauth2(OAuth2 oauth2)
HTTPConfigWithoutTLS defines the configuration for the HTTP client.
-
edit
public HTTPConfigWithoutTLSBuilder edit()
- Specified by:
editin interfaceEditable<HTTPConfigWithoutTLSBuilder>
-
toBuilder
public HTTPConfigWithoutTLSBuilder toBuilder()
-
-