Class GetPublicKeyResponse

java.lang.Object
com.exoscale.sdk.model.GetPublicKeyResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class GetPublicKeyResponse extends Object
GetPublicKeyResponse
  • Field Details

  • Constructor Details

    • GetPublicKeyResponse

      public GetPublicKeyResponse()
  • Method Details

    • keyId

      public GetPublicKeyResponse keyId(UUID keyId)
    • getKeyId

      @Nullable public UUID getKeyId()
      The UUID of the KMS key the public key material belongs to.
      Returns:
      keyId
    • setKeyId

      public void setKeyId(UUID keyId)
    • keySpec

      public GetPublicKeyResponse keySpec(String keySpec)
    • getKeySpec

      @Nullable public String getKeySpec()
      The cryptographic key specification of the key pair, defining its algorithm and curve.
      Returns:
      keySpec
    • setKeySpec

      public void setKeySpec(String keySpec)
    • usage

      public GetPublicKeyResponse usage(String usage)
    • getUsage

      @Nullable public String getUsage()
      The usage of the key pair, either `encrypt-decrypt` or `sign-verify`.
      Returns:
      usage
    • setUsage

      public void setUsage(String usage)
    • publicKey

      public GetPublicKeyResponse publicKey(byte[] publicKey)
    • getPublicKey

      @Nullable public byte[] getPublicKey()
      The Base64-encoded X.509 SubjectPublicKeyInfo (SPKI) DER encoding of the key's public key.
      Returns:
      publicKey
    • setPublicKey

      public void setPublicKey(byte[] publicKey)
    • equals

      public boolean equals(Object o)
      Return true if this get-public-key-response object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

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

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string