Package com.exoscale.sdk.model
Class ReEncryptRequestDestination
java.lang.Object
com.exoscale.sdk.model.ReEncryptRequestDestination
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ReEncryptRequestDestination
extends Object
ReEncryptRequestDestination
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe encryption algorithm the destination key must use. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencryptionAlgorithm(ReEncryptRequestDestination.EncryptionAlgorithmEnum encryptionAlgorithm) encryptionContext(byte[] encryptionContext) booleanReturn true if this re_encrypt_request_destination object is equal to o.The encryption algorithm the destination key must use.byte[]Optional new Base64-encoded encryption context to apply under the target destination envelope.org.openapitools.jackson.nullable.JsonNullable<byte[]>getKey()The ID of the target key chosen to encapsulate the newly shifted data translation.inthashCode()voidsetEncryptionAlgorithm(ReEncryptRequestDestination.EncryptionAlgorithmEnum encryptionAlgorithm) voidsetEncryptionContext(byte[] encryptionContext) voidsetEncryptionContext_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<byte[]> encryptionContext) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_ENCRYPTION_CONTEXT
- See Also:
-
JSON_PROPERTY_ENCRYPTION_ALGORITHM
- See Also:
-
-
Constructor Details
-
ReEncryptRequestDestination
public ReEncryptRequestDestination()
-
-
Method Details
-
key
-
getKey
The ID of the target key chosen to encapsulate the newly shifted data translation.- Returns:
- key
-
setKey
-
encryptionContext
-
getEncryptionContext
@Nullable public byte[] getEncryptionContext()Optional new Base64-encoded encryption context to apply under the target destination envelope.- Returns:
- encryptionContext
-
getEncryptionContext_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<byte[]> getEncryptionContext_JsonNullable() -
setEncryptionContext_JsonNullable
public void setEncryptionContext_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<byte[]> encryptionContext) -
setEncryptionContext
public void setEncryptionContext(byte[] encryptionContext) -
encryptionAlgorithm
public ReEncryptRequestDestination encryptionAlgorithm(ReEncryptRequestDestination.EncryptionAlgorithmEnum encryptionAlgorithm) -
getEncryptionAlgorithm
The encryption algorithm the destination key must use. Validated against the key's actual cryptographic profile. Required for asymmetric keys. Symmetric keys use AES_256 when it is omitted.- Returns:
- encryptionAlgorithm
-
setEncryptionAlgorithm
public void setEncryptionAlgorithm(ReEncryptRequestDestination.EncryptionAlgorithmEnum encryptionAlgorithm) -
equals
Return true if this re_encrypt_request_destination 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
-