public class GenerateRandomResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GenerateRandomResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getPlaintext()
The random byte string.
|
int |
hashCode() |
void |
setPlaintext(java.nio.ByteBuffer plaintext)
The random byte string.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateRandomResult |
withPlaintext(java.nio.ByteBuffer plaintext)
The random byte string.
|
public java.nio.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 Base64-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 Base64-encoded.
public void setPlaintext(java.nio.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 Base64-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 Base64-encoded.
public GenerateRandomResult withPlaintext(java.nio.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 Base64-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 Base64-encoded.
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.