@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerateRandomRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GenerateRandomRequest() |
Modifier and Type | Method and Description |
---|---|
GenerateRandomRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCustomKeyStoreId()
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key
store.
|
Integer |
getNumberOfBytes()
The length of the random byte string.
|
int |
hashCode() |
void |
setCustomKeyStoreId(String customKeyStoreId)
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key
store.
|
void |
setNumberOfBytes(Integer numberOfBytes)
The length of the random byte string.
|
String |
toString()
Returns a string representation of this object.
|
GenerateRandomRequest |
withCustomKeyStoreId(String customKeyStoreId)
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key
store.
|
GenerateRandomRequest |
withNumberOfBytes(Integer numberOfBytes)
The length of the random byte string.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNumberOfBytes(Integer numberOfBytes)
The length of the random byte string. This parameter is required.
numberOfBytes
- The length of the random byte string. This parameter is required.public Integer getNumberOfBytes()
The length of the random byte string. This parameter is required.
public GenerateRandomRequest withNumberOfBytes(Integer numberOfBytes)
The length of the random byte string. This parameter is required.
numberOfBytes
- The length of the random byte string. This parameter is required.public void setCustomKeyStoreId(String customKeyStoreId)
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
customKeyStoreId
- Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM
key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
public String getCustomKeyStoreId()
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
public GenerateRandomRequest withCustomKeyStoreId(String customKeyStoreId)
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
customKeyStoreId
- Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM
key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
External key store IDs are not valid for this parameter. If you specify the ID of an external key store,
GenerateRandom
throws an UnsupportedOperationException
.
public String toString()
toString
in class Object
Object.toString()
public GenerateRandomRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()