@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserRequest extends RekognitionRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateUserRequest.Builder |
builder() |
String |
clientRequestToken()
Idempotent token used to identify the request to
CreateUser. |
String |
collectionId()
The ID of an existing collection to which the new UserID needs to be created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUserRequest.Builder> |
serializableBuilderClass() |
CreateUserRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
ID for the UserID to be created.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String collectionId()
The ID of an existing collection to which the new UserID needs to be created.
public final String userId()
ID for the UserID to be created. This ID needs to be unique within the collection.
public final String clientRequestToken()
Idempotent token used to identify the request to CreateUser. If you use the same token with multiple
CreateUser requests, the same response is returned. Use ClientRequestToken to prevent the same
request from being processed more than once.
CreateUser. If you use the same token with
multiple CreateUser requests, the same response is returned. Use ClientRequestToken to
prevent the same request from being processed more than once.public CreateUserRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>toBuilder in class RekognitionRequestpublic static CreateUserRequest.Builder builder()
public static Class<? extends CreateUserRequest.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.