Package com.exoscale.sdk.model
Class GenerateDataKeyResponse
java.lang.Object
com.exoscale.sdk.model.GenerateDataKeyResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class GenerateDataKeyResponse
extends Object
GenerateDataKeyResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionciphertext(byte[] ciphertext) booleanReturn true if this generate-data-key-response object is equal to o.byte[]The identical symmetric data key, returned safely wrapped/encrypted using the designated root parent KMS key.byte[]The Base64-encoded raw symmetric data key payload.inthashCode()plaintext(byte[] plaintext) voidsetCiphertext(byte[] ciphertext) voidsetPlaintext(byte[] plaintext) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PLAINTEXT
- See Also:
-
JSON_PROPERTY_CIPHERTEXT
- See Also:
-
-
Constructor Details
-
GenerateDataKeyResponse
public GenerateDataKeyResponse()
-
-
Method Details
-
plaintext
-
getPlaintext
@Nonnull public byte[] getPlaintext()The Base64-encoded raw symmetric data key payload. Expose only securely during active application setups.- Returns:
- plaintext
-
setPlaintext
public void setPlaintext(byte[] plaintext) -
ciphertext
-
getCiphertext
@Nonnull public byte[] getCiphertext()The identical symmetric data key, returned safely wrapped/encrypted using the designated root parent KMS key.- Returns:
- ciphertext
-
setCiphertext
public void setCiphertext(byte[] ciphertext) -
equals
Return true if this generate-data-key-response object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-