Class GrpcTlsModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.GrpcTlsModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class GrpcTlsModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure certificate used to verify a server's TLS credentials.Configure mTLS client certificate.Configure client transport security for the exporter's connection.Configure mTLS private client key.inthashCode()toString()withCaFile(String caFile) withCertFile(String certFile) withInsecure(Boolean insecure) withKeyFile(String keyFile)
-
Constructor Details
-
GrpcTlsModel
public GrpcTlsModel()
-
-
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
-
getInsecure
Configure client transport security for the exporter's connection.Only applicable when .endpoint is provided without http or https scheme. Implementations may choose to ignore .insecure.
If omitted or null, false is used.
-
withInsecure
-
toString
-
hashCode
public int hashCode() -
equals
-