public class GenerateRandomResult extends Object implements Serializable
| Constructor and Description |
|---|
GenerateRandomResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getPlaintext()
The random byte string.
|
int |
hashCode() |
void |
setPlaintext(ByteBuffer plaintext)
The random byte string.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateRandomResult |
withPlaintext(ByteBuffer plaintext)
The random byte string.
|
public ByteBuffer getPlaintext()
The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 4096
The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
public void setPlaintext(ByteBuffer plaintext)
The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 4096
plaintext - The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
public GenerateRandomResult withPlaintext(ByteBuffer plaintext)
The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 4096
plaintext - The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.