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

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

    • HttpTlsModel

      public HttpTlsModel()
  • 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 HttpTlsModel 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 HttpTlsModel 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 HttpTlsModel withCertFile(String certFile)
    • 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