Class HttpTlsModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.HttpTlsModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class HttpTlsModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure certificate used to verify a server's TLS credentials.Configure mTLS client certificate.Configure mTLS private client key.inthashCode()toString()withCaFile(String caFile) withCertFile(String certFile) withKeyFile(String keyFile)
-
Constructor Details
-
HttpTlsModel
public HttpTlsModel()
-
-
Method Details
-
getCaFile
Configure certificate used to verify a server's TLS credentials.Absolute path to certificate file in PEM format.
If omitted or null, system default certificate verification is used for secure connections.
-
withCaFile
-
getKeyFile
Configure mTLS private client key.Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
If omitted or null, mTLS is not used.
-
withKeyFile
-
getCertFile
Configure mTLS client certificate.Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
If omitted or null, mTLS is not used.
-
withCertFile
-
toString
-
hashCode
public int hashCode() -
equals
-