Class WebTLSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.WebTLSConfig
-
- All Implemented Interfaces:
Editable<WebTLSConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WebTLSConfig extends Object implements Editable<WebTLSConfigBuilder>, 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, 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()certFile defines the path to the TLS certificate file in the container for the web server.List<String>getCipherSuites()cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.StringgetClientAuthType()clientAuthType defines the server policy for client TLS authentication.SecretOrConfigMapgetClientCa()WebTLSConfig defines the TLS parameters for HTTPS.StringgetClientCAFile()clientCAFile defines the path to the CA certificate file for client certificate authentication to the server.List<String>getCurvePreferences()curvePreferences defines elliptic curves that will be used in an ECDHE handshake, in preference order.StringgetKeyFile()keyFile defines the path to the TLS private key file in the container for the web server.SecretKeySelectorgetKeySecret()WebTLSConfig defines the TLS parameters for HTTPS.StringgetMaxVersion()maxVersion defines the Maximum TLS version that is acceptable.StringgetMinVersion()minVersion defines the minimum TLS version that is acceptable.BooleangetPreferServerCipherSuites()preferServerCipherSuites defines 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)certFile defines the path to the TLS certificate file in the container for the web server.voidsetCipherSuites(List<String> cipherSuites)cipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.voidsetClientAuthType(String clientAuthType)clientAuthType defines the server policy for client TLS authentication.voidsetClientCa(SecretOrConfigMap clientCa)WebTLSConfig defines the TLS parameters for HTTPS.voidsetClientCAFile(String clientCAFile)clientCAFile defines the path to the CA certificate file for client certificate authentication to the server.voidsetCurvePreferences(List<String> curvePreferences)curvePreferences defines elliptic curves that will be used in an ECDHE handshake, in preference order.voidsetKeyFile(String keyFile)keyFile defines the path to the TLS private key file in the container for the web server.voidsetKeySecret(SecretKeySelector keySecret)WebTLSConfig defines the TLS parameters for HTTPS.voidsetMaxVersion(String maxVersion)maxVersion defines the Maximum TLS version that is acceptable.voidsetMinVersion(String minVersion)minVersion defines the minimum TLS version that is acceptable.voidsetPreferServerCipherSuites(Boolean preferServerCipherSuites)preferServerCipherSuites defines 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, 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()
certFile defines the 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)
certFile defines the 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()
cipherSuites defines the 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)
cipherSuites defines the 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()
clientAuthType defines 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)
clientAuthType defines the server policy for client TLS authentication.For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType
-
getClientCAFile
public String getClientCAFile()
clientCAFile defines the 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)
clientCAFile defines the 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()
curvePreferences defines 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)
curvePreferences defines 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()
keyFile defines the 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)
keyFile defines the 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 SecretKeySelector getKeySecret()
WebTLSConfig defines the TLS parameters for HTTPS.
-
setKeySecret
public void setKeySecret(SecretKeySelector keySecret)
WebTLSConfig defines the TLS parameters for HTTPS.
-
getMaxVersion
public String getMaxVersion()
maxVersion defines the Maximum TLS version that is acceptable.
-
setMaxVersion
public void setMaxVersion(String maxVersion)
maxVersion defines the Maximum TLS version that is acceptable.
-
getMinVersion
public String getMinVersion()
minVersion defines the minimum TLS version that is acceptable.
-
setMinVersion
public void setMinVersion(String minVersion)
minVersion defines the minimum TLS version that is acceptable.
-
getPreferServerCipherSuites
public Boolean getPreferServerCipherSuites()
preferServerCipherSuites defines 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)
preferServerCipherSuites defines 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 interfaceEditable<WebTLSConfigBuilder>
-
toBuilder
public WebTLSConfigBuilder toBuilder()
-
-