Interface CreateUserRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>, RekognitionRequest.Builder, SdkBuilder<CreateUserRequest.Builder,CreateUserRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateUserRequest

public static interface CreateUserRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
  • Method Details

    • collectionId

      CreateUserRequest.Builder collectionId(String collectionId)

      The ID of an existing collection to which the new UserID needs to be created.

      Parameters:
      collectionId - The ID of an existing collection to which the new UserID needs to be created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      ID for the UserID to be created. This ID needs to be unique within the collection.

      Parameters:
      userId - ID for the UserID to be created. This ID needs to be unique within the collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      CreateUserRequest.Builder clientRequestToken(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.