public class GenerateRandomRequest extends AmazonWebServiceRequest implements java.io.Serializable
Generates an unpredictable byte string.
Constructor and Description |
---|
GenerateRandomRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getNumberOfBytes()
The length of the byte string.
|
int |
hashCode() |
void |
setNumberOfBytes(java.lang.Integer numberOfBytes)
The length of the byte string.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateRandomRequest |
withNumberOfBytes(java.lang.Integer numberOfBytes)
The length of the byte string.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.Integer getNumberOfBytes()
The length of the byte string.
Constraints:
Range: 1 - 1024
The length of the byte string.
public void setNumberOfBytes(java.lang.Integer numberOfBytes)
The length of the byte string.
Constraints:
Range: 1 - 1024
numberOfBytes
- The length of the byte string.
public GenerateRandomRequest withNumberOfBytes(java.lang.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 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.