Class WebTLSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.WebTLSConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<WebTLSConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WebTLSConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<WebTLSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
WebTLSConfig defines the TLS parameters for HTTPS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebTLSConfig()No args constructor for use in serializationWebTLSConfig(SecretOrConfigMap cert, String certFile, List<String> cipherSuites, String clientAuthType, String clientCAFile, SecretOrConfigMap clientCa, List<String> curvePreferences, String keyFile, io.fabric8.kubernetes.api.model.SecretKeySelector keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebTLSConfigBuilderedit()Map<String,Object>getAdditionalProperties()SecretOrConfigMapgetCert()WebTLSConfig defines the TLS parameters for HTTPS.StringgetCertFile()Path to the TLS certificate file in the container for the web server.List<String>getCipherSuites()List of supported cipher suites for TLS versions up to TLS 1.2.StringgetClientAuthType()The server policy for client TLS authentication.SecretOrConfigMapgetClientCa()WebTLSConfig defines the TLS parameters for HTTPS.StringgetClientCAFile()Path to the CA certificate file for client certificate authentication to the server.List<String>getCurvePreferences()Elliptic curves that will be used in an ECDHE handshake, in preference order.StringgetKeyFile()Path to the TLS private key file in the container for the web server.io.fabric8.kubernetes.api.model.SecretKeySelectorgetKeySecret()WebTLSConfig defines the TLS parameters for HTTPS.StringgetMaxVersion()Maximum TLS version that is acceptable.StringgetMinVersion()Minimum TLS version that is acceptable.BooleangetPreferServerCipherSuites()Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCert(SecretOrConfigMap cert)WebTLSConfig defines the TLS parameters for HTTPS.voidsetCertFile(String certFile)Path to the TLS certificate file in the container for the web server.voidsetCipherSuites(List<String> cipherSuites)List of supported cipher suites for TLS versions up to TLS 1.2.voidsetClientAuthType(String clientAuthType)The server policy for client TLS authentication.voidsetClientCa(SecretOrConfigMap clientCa)WebTLSConfig defines the TLS parameters for HTTPS.voidsetClientCAFile(String clientCAFile)Path to the CA certificate file for client certificate authentication to the server.voidsetCurvePreferences(List<String> curvePreferences)Elliptic curves that will be used in an ECDHE handshake, in preference order.voidsetKeyFile(String keyFile)Path to the TLS private key file in the container for the web server.voidsetKeySecret(io.fabric8.kubernetes.api.model.SecretKeySelector keySecret)WebTLSConfig defines the TLS parameters for HTTPS.voidsetMaxVersion(String maxVersion)Maximum TLS version that is acceptable.voidsetMinVersion(String minVersion)Minimum TLS version that is acceptable.voidsetPreferServerCipherSuites(Boolean preferServerCipherSuites)Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.WebTLSConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
WebTLSConfig
public WebTLSConfig()
No args constructor for use in serialization
-
WebTLSConfig
public WebTLSConfig(SecretOrConfigMap cert, String certFile, List<String> cipherSuites, String clientAuthType, String clientCAFile, SecretOrConfigMap clientCa, List<String> curvePreferences, String keyFile, io.fabric8.kubernetes.api.model.SecretKeySelector keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites)
-
-
Method Detail
-
getCert
public SecretOrConfigMap getCert()
WebTLSConfig defines the TLS parameters for HTTPS.
-
setCert
public void setCert(SecretOrConfigMap cert)
WebTLSConfig defines the TLS parameters for HTTPS.
-
getCertFile
public String getCertFile()
Path to the TLS certificate file in the container for the web server.Either `keySecret` or `keyFile` must be defined.
It is mutually exclusive with `cert`.
-
setCertFile
public void setCertFile(String certFile)
Path to the TLS certificate file in the container for the web server.Either `keySecret` or `keyFile` must be defined.
It is mutually exclusive with `cert`.
-
getCipherSuites
public List<String> getCipherSuites()
List of supported cipher suites for TLS versions up to TLS 1.2.If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants
-
setCipherSuites
public void setCipherSuites(List<String> cipherSuites)
List of supported cipher suites for TLS versions up to TLS 1.2.If not defined, the Go default cipher suites are used. Available cipher suites are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants
-
getClientAuthType
public String getClientAuthType()
The server policy for client TLS authentication.For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType
-
setClientAuthType
public void setClientAuthType(String clientAuthType)
The server policy for client TLS authentication.For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType
-
getClientCAFile
public String getClientCAFile()
Path to the CA certificate file for client certificate authentication to the server.It is mutually exclusive with `client_ca`.
-
setClientCAFile
public void setClientCAFile(String clientCAFile)
Path to the CA certificate file for client certificate authentication to the server.It is mutually exclusive with `client_ca`.
-
getClientCa
public SecretOrConfigMap getClientCa()
WebTLSConfig defines the TLS parameters for HTTPS.
-
setClientCa
public void setClientCa(SecretOrConfigMap clientCa)
WebTLSConfig defines the TLS parameters for HTTPS.
-
getCurvePreferences
public List<String> getCurvePreferences()
Elliptic curves that will be used in an ECDHE handshake, in preference order.Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID
-
setCurvePreferences
public void setCurvePreferences(List<String> curvePreferences)
Elliptic curves that will be used in an ECDHE handshake, in preference order.Available curves are documented in the Go documentation: https://golang.org/pkg/crypto/tls/#CurveID
-
getKeyFile
public String getKeyFile()
Path to the TLS private key file in the container for the web server.If defined, either `cert` or `certFile` must be defined.
It is mutually exclusive with `keySecret`.
-
setKeyFile
public void setKeyFile(String keyFile)
Path to the TLS private key file in the container for the web server.If defined, either `cert` or `certFile` must be defined.
It is mutually exclusive with `keySecret`.
-
getKeySecret
public io.fabric8.kubernetes.api.model.SecretKeySelector getKeySecret()
WebTLSConfig defines the TLS parameters for HTTPS.
-
setKeySecret
public void setKeySecret(io.fabric8.kubernetes.api.model.SecretKeySelector keySecret)
WebTLSConfig defines the TLS parameters for HTTPS.
-
getMaxVersion
public String getMaxVersion()
Maximum TLS version that is acceptable.
-
setMaxVersion
public void setMaxVersion(String maxVersion)
Maximum TLS version that is acceptable.
-
getMinVersion
public String getMinVersion()
Minimum TLS version that is acceptable.
-
setMinVersion
public void setMinVersion(String minVersion)
Minimum TLS version that is acceptable.
-
getPreferServerCipherSuites
public Boolean getPreferServerCipherSuites()
Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.
-
setPreferServerCipherSuites
public void setPreferServerCipherSuites(Boolean preferServerCipherSuites)
Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite.If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.
-
edit
public WebTLSConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<WebTLSConfigBuilder>
-
toBuilder
public WebTLSConfigBuilder toBuilder()
-
-