Class UserImportJobType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserImportJobType.Builder,UserImportJobType>
A user import job in a user pool. Describes the status of user import with a CSV file. For more information, see Importing users into user pools from a CSV file.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UserImportJobType.Builderbuilder()final StringThe role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job.final InstantThe date when the user import job was completed.final StringThe message returned when the user import job is completed.final InstantThe date and time when the item was created.final booleanfinal booleanequalsBySdkFields(Object obj) final LongThe number of users that couldn't be imported.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe number of users that were successfully imported.final StringjobId()The ID of the user import job.final StringjobName()The friendly name of the user import job.final StringThe pre-signed URL target for uploading the CSV file.static Class<? extends UserImportJobType.Builder>final LongThe number of users that were skipped.final InstantThe date when the user import job was started.final UserImportJobStatusTypestatus()The status of the user import job.final StringThe status of the user import job.final StringtoString()Returns a string representation of this object.final StringThe ID of the user pool that the users are being imported into.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jobName
The friendly name of the user import job.
- Returns:
- The friendly name of the user import job.
-
jobId
The ID of the user import job.
- Returns:
- The ID of the user import job.
-
userPoolId
The ID of the user pool that the users are being imported into.
- Returns:
- The ID of the user pool that the users are being imported into.
-
preSignedUrl
The pre-signed URL target for uploading the CSV file.
- Returns:
- The pre-signed URL target for uploading the CSV file.
-
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.- Returns:
- 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.
-
startDate
The date when the user import job was started.
- Returns:
- The date when the user import job was started.
-
completionDate
The date when the user import job was completed.
- Returns:
- The date when the user import job was completed.
-
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserImportJobStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
-
-
statusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserImportJobStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- 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.
- Returns:
- 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.
-
importedUsers
The number of users that were successfully imported.
- Returns:
- The number of users that were successfully imported.
-
skippedUsers
The number of users that were skipped.
- Returns:
- The number of users that were skipped.
-
failedUsers
The number of users that couldn't be imported.
- Returns:
- The number of users that couldn't be imported.
-
completionMessage
The message returned when the user import job is completed.
- Returns:
- The message returned when the user import job is completed.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserImportJobType.Builder,UserImportJobType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-