@Generated(value="software.amazon.awssdk:codegen") public final class GenerateRandomRequest extends KmsRequest implements ToCopyableBuilder<GenerateRandomRequest.Builder,GenerateRandomRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GenerateRandomRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GenerateRandomRequest.Builder |
builder() |
String |
customKeyStoreId()
Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key
store.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
numberOfBytes()
The length of the random byte string.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GenerateRandomRequest.Builder> |
serializableBuilderClass() |
GenerateRandomRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer numberOfBytes()
The length of the random byte string. This parameter is required.
public final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GenerateRandomRequest.Builder,GenerateRandomRequest>toBuilder in class KmsRequestpublic static GenerateRandomRequest.Builder builder()
public static Class<? extends GenerateRandomRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.