java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.GrpcTlsModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class GrpcTlsModel extends Object
  • Constructor Details

    • GrpcTlsModel

      public GrpcTlsModel()
  • Method Details

    • getCaFile

      @Nullable public String 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

      public GrpcTlsModel withCaFile(String caFile)
    • getKeyFile

      @Nullable public String 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

      public GrpcTlsModel withKeyFile(String keyFile)
    • getCertFile

      @Nullable public String 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

      public GrpcTlsModel withCertFile(String certFile)
    • getInsecure

      @Nullable public Boolean 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

      public GrpcTlsModel withInsecure(Boolean insecure)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object