Interface UserImportJobType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UserImportJobType.Builder,UserImportJobType>, SdkBuilder<UserImportJobType.Builder,UserImportJobType>, SdkPojo
Enclosing class:
UserImportJobType

@Mutable @NotThreadSafe public static interface UserImportJobType.Builder extends SdkPojo, CopyableBuilder<UserImportJobType.Builder,UserImportJobType>
  • Method Details

    • jobName

      The friendly name of the user import job.

      Parameters:
      jobName - The friendly name of the user import job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobId

      The ID of the user import job.

      Parameters:
      jobId - The ID of the user import job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userPoolId

      UserImportJobType.Builder userPoolId(String userPoolId)

      The ID of the user pool that the users are being imported into.

      Parameters:
      userPoolId - The ID of the user pool that the users are being imported into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preSignedUrl

      UserImportJobType.Builder preSignedUrl(String preSignedUrl)

      The pre-signed URL target for uploading the CSV file.

      Parameters:
      preSignedUrl - The pre-signed URL target for uploading the CSV file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      UserImportJobType.Builder creationDate(Instant creationDate)

      The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

      Parameters:
      creationDate - The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      UserImportJobType.Builder startDate(Instant startDate)

      The date when the user import job was started.

      Parameters:
      startDate - The date when the user import job was started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionDate

      UserImportJobType.Builder completionDate(Instant completionDate)

      The date when the user import job was completed.

      Parameters:
      completionDate - The date when the user import job was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the user import job. One of the following:

      • Created - The job was created but not started.

      • Pending - A transition state. You have started the job, but it has not begun importing users yet.

      • InProgress - The job has started, and users are being imported.

      • Stopping - You have stopped the job, but the job has not stopped importing users yet.

      • Stopped - You have stopped the job, and the job has stopped importing users.

      • Succeeded - The job has completed successfully.

      • Failed - The job has stopped due to an error.

      • Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started.

      Parameters:
      status - The status of the user import job. One of the following:

      • Created - The job was created but not started.

      • Pending - A transition state. You have started the job, but it has not begun importing users yet.

      • InProgress - The job has started, and users are being imported.

      • Stopping - You have stopped the job, but the job has not stopped importing users yet.

      • Stopped - You have stopped the job, and the job has stopped importing users.

      • Succeeded - The job has completed successfully.

      • Failed - The job has stopped due to an error.

      • Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the user import job. One of the following:

      • Created - The job was created but not started.

      • Pending - A transition state. You have started the job, but it has not begun importing users yet.

      • InProgress - The job has started, and users are being imported.

      • Stopping - You have stopped the job, but the job has not stopped importing users yet.

      • Stopped - You have stopped the job, and the job has stopped importing users.

      • Succeeded - The job has completed successfully.

      • Failed - The job has stopped due to an error.

      • Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started.

      Parameters:
      status - The status of the user import job. One of the following:

      • Created - The job was created but not started.

      • Pending - A transition state. You have started the job, but it has not begun importing users yet.

      • InProgress - The job has started, and users are being imported.

      • Stopping - You have stopped the job, but the job has not stopped importing users yet.

      • Stopped - You have stopped the job, and the job has stopped importing users.

      • Succeeded - The job has completed successfully.

      • Failed - The job has stopped due to an error.

      • Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudWatchLogsRoleArn

      UserImportJobType.Builder cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)

      The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.

      Parameters:
      cloudWatchLogsRoleArn - The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedUsers

      UserImportJobType.Builder importedUsers(Long importedUsers)

      The number of users that were successfully imported.

      Parameters:
      importedUsers - The number of users that were successfully imported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skippedUsers

      UserImportJobType.Builder skippedUsers(Long skippedUsers)

      The number of users that were skipped.

      Parameters:
      skippedUsers - The number of users that were skipped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedUsers

      UserImportJobType.Builder failedUsers(Long failedUsers)

      The number of users that couldn't be imported.

      Parameters:
      failedUsers - The number of users that couldn't be imported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionMessage

      UserImportJobType.Builder completionMessage(String completionMessage)

      The message returned when the user import job is completed.

      Parameters:
      completionMessage - The message returned when the user import job is completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.