public class GenerateRandomRequest extends AmazonWebServiceRequest implements Serializable
GenerateRandom operation.
Generates an unpredictable byte string.
NOOP| Constructor and Description |
|---|
GenerateRandomRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getNumberOfBytes()
Integer that contains the number of bytes to generate.
|
int |
hashCode() |
void |
setNumberOfBytes(Integer numberOfBytes)
Integer that contains the number of bytes to generate.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateRandomRequest |
withNumberOfBytes(Integer numberOfBytes)
Integer that contains the number of bytes to generate.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Integer getNumberOfBytes()
Constraints:
Range: 1 - 1024
public void setNumberOfBytes(Integer numberOfBytes)
Constraints:
Range: 1 - 1024
numberOfBytes - Integer that contains the number of bytes to generate. Common values
are 128, 256, 512, 1024 and so on. The current limit is 1024 bytes.public GenerateRandomRequest withNumberOfBytes(Integer numberOfBytes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1024
numberOfBytes - Integer that contains the number of bytes to generate. Common values
are 128, 256, 512, 1024 and so on. The current limit is 1024 bytes.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.