Interface UserImportJobType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserImportJobType.Builder,,UserImportJobType> SdkBuilder<UserImportJobType.Builder,,UserImportJobType> SdkPojo
- Enclosing class:
- UserImportJobType
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogsRoleArn(String cloudWatchLogsRoleArn) The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job.completionDate(Instant completionDate) The date when the user import job was completed.completionMessage(String completionMessage) The message returned when the user import job is completed.creationDate(Instant creationDate) The date and time when the item was created.failedUsers(Long failedUsers) The number of users that couldn't be imported.importedUsers(Long importedUsers) The number of users that were successfully imported.The ID of the user import job.The friendly name of the user import job.preSignedUrl(String preSignedUrl) The pre-signed URL target for uploading the CSV file.skippedUsers(Long skippedUsers) The number of users that were skipped.The date when the user import job was started.The status of the user import job.status(UserImportJobStatusType status) The status of the user import job.userPoolId(String userPoolId) The ID of the user pool that the users are being imported into.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
Dateobject.- 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 JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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
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
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.
-