public class GenerateRandomRequest extends AmazonWebServiceRequest implements Serializable
Generates an unpredictable byte string.
| Constructor and Description |
|---|
GenerateRandomRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getNumberOfBytes()
The length of the byte string.
|
int |
hashCode() |
void |
setNumberOfBytes(Integer numberOfBytes)
The length of the byte string.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateRandomRequest |
withNumberOfBytes(Integer numberOfBytes)
The length of the byte string.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Integer getNumberOfBytes()
The length of the byte string.
Constraints:
Range: 1 - 1024
The length of the byte string.
public void setNumberOfBytes(Integer numberOfBytes)
The length of the byte string.
Constraints:
Range: 1 - 1024
numberOfBytes - The length of the byte string.
public GenerateRandomRequest withNumberOfBytes(Integer numberOfBytes)
The length of the byte string.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1024
numberOfBytes - The length of the byte string.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.