Class KeyPairCredentials

java.lang.Object
com.cloudera.cdp.dw.model.KeyPairCredentials

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:25.071-07:00") public class KeyPairCredentials extends Object
Certificate and private key pair credentials, that could be used ie mutual TLS connections therefore these must belong together.
  • Constructor Details

    • KeyPairCredentials

      public KeyPairCredentials()
  • Method Details

    • getCertificate

      public String getCertificate()
      Getter for certificate. The content of certificate PEM file.
    • setCertificate

      public void setCertificate(String certificate)
      Setter for certificate. The content of certificate PEM file.
    • getPrivateKey

      public String getPrivateKey()
      Getter for privateKey. The content of private key PEM file.
    • setPrivateKey

      public void setPrivateKey(String privateKey)
      Setter for privateKey. The content of private key PEM file.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object