public class ReEncryptResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReEncryptResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getCiphertextBlob()
The reencrypted data.
|
java.lang.String |
getDestinationEncryptionAlgorithm()
The encryption algorithm that was used to reencrypt the data.
|
java.lang.String |
getKeyId()
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
|
java.lang.String |
getSourceEncryptionAlgorithm()
The encryption algorithm that was used to decrypt the ciphertext before
it was reencrypted.
|
java.lang.String |
getSourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
|
int |
hashCode() |
void |
setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data.
|
void |
setDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
|
void |
setDestinationEncryptionAlgorithm(java.lang.String destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
|
void |
setKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
|
void |
setSourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before
it was reencrypted.
|
void |
setSourceEncryptionAlgorithm(java.lang.String sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before
it was reencrypted.
|
void |
setSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReEncryptResult |
withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data.
|
ReEncryptResult |
withDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
|
ReEncryptResult |
withDestinationEncryptionAlgorithm(java.lang.String destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
|
ReEncryptResult |
withKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
|
ReEncryptResult |
withSourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before
it was reencrypted.
|
ReEncryptResult |
withSourceEncryptionAlgorithm(java.lang.String sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before
it was reencrypted.
|
ReEncryptResult |
withSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
|
public java.nio.ByteBuffer getCiphertextBlob()
The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public void setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public ReEncryptResult withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public java.lang.String getSourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
Constraints:
Length: 1 - 2048
Unique identifier of the CMK used to originally encrypt the data.
public void setSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
Constraints:
Length: 1 - 2048
sourceKeyId
- Unique identifier of the CMK used to originally encrypt the data.
public ReEncryptResult withSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
sourceKeyId
- Unique identifier of the CMK used to originally encrypt the data.
public java.lang.String getKeyId()
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
Constraints:
Length: 1 - 2048
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
public void setKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
public ReEncryptResult withKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
public java.lang.String getSourceEncryptionAlgorithm()
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
EncryptionAlgorithmSpec
public void setSourceEncryptionAlgorithm(java.lang.String sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
EncryptionAlgorithmSpec
public ReEncryptResult withSourceEncryptionAlgorithm(java.lang.String sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
EncryptionAlgorithmSpec
public void setSourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
EncryptionAlgorithmSpec
public ReEncryptResult withSourceEncryptionAlgorithm(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
sourceEncryptionAlgorithm
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
EncryptionAlgorithmSpec
public java.lang.String getDestinationEncryptionAlgorithm()
The encryption algorithm that was used to reencrypt the data.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
The encryption algorithm that was used to reencrypt the data.
EncryptionAlgorithmSpec
public void setDestinationEncryptionAlgorithm(java.lang.String destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.
EncryptionAlgorithmSpec
public ReEncryptResult withDestinationEncryptionAlgorithm(java.lang.String destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.
EncryptionAlgorithmSpec
public void setDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.
EncryptionAlgorithmSpec
public ReEncryptResult withDestinationEncryptionAlgorithm(EncryptionAlgorithmSpec destinationEncryptionAlgorithm)
The encryption algorithm that was used to reencrypt the data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SYMMETRIC_DEFAULT, RSAES_OAEP_SHA_1,
RSAES_OAEP_SHA_256
destinationEncryptionAlgorithm
- The encryption algorithm that was used to reencrypt the data.
EncryptionAlgorithmSpec
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.