Class CreateUserRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.CreateUserRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateUserRequest extends RekognitionRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateUserRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateUserRequest.Builderbuilder()StringclientRequestToken()Idempotent token used to identify the request toCreateUser.StringcollectionId()The ID of an existing collection to which the new UserID needs to be created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateUserRequest.Builder>serializableBuilderClass()CreateUserRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()ID for the UserID to be created.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
collectionId
public final String collectionId()
The ID of an existing collection to which the new UserID needs to be created.
- Returns:
- The ID of an existing collection to which the new UserID needs to be created.
-
userId
public final String userId()
ID for the UserID to be created. This ID needs to be unique within the collection.
- Returns:
- ID for the UserID to be created. This ID needs to be unique within the collection.
-
clientRequestToken
public final String clientRequestToken()
Idempotent token used to identify the request to
CreateUser. If you use the same token with multipleCreateUserrequests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.- Returns:
- Idempotent token used to identify the request to
CreateUser. If you use the same token with multipleCreateUserrequests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.
-
toBuilder
public CreateUserRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static CreateUserRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateUserRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-