public class UserImportJobType extends Object implements Serializable
The user import job type.
| Constructor and Description |
|---|
UserImportJobType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCloudWatchLogsRoleArn()
The role ARN for the Amazon CloudWatch Logging role for the user import
job.
|
Date |
getCompletionDate()
The date when the user import job was completed.
|
String |
getCompletionMessage()
The message returned when the user import job is completed.
|
Date |
getCreationDate()
The date the user import job was created.
|
Long |
getFailedUsers()
The number of users that could not be imported.
|
Long |
getImportedUsers()
The number of users that were successfully imported.
|
String |
getJobId()
The job ID for the user import job.
|
String |
getJobName()
The job name for the user import job.
|
String |
getPreSignedUrl()
The pre-signed URL to be used to upload the
.csv file. |
Long |
getSkippedUsers()
The number of users that were skipped.
|
Date |
getStartDate()
The date when the user import job was started.
|
String |
getStatus()
The status of the user import job.
|
String |
getUserPoolId()
The user pool ID for the user pool that the users are being imported
into.
|
int |
hashCode() |
void |
setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role ARN for the Amazon CloudWatch Logging role for the user import
job.
|
void |
setCompletionDate(Date completionDate)
The date when the user import job was completed.
|
void |
setCompletionMessage(String completionMessage)
The message returned when the user import job is completed.
|
void |
setCreationDate(Date creationDate)
The date the user import job was created.
|
void |
setFailedUsers(Long failedUsers)
The number of users that could not be imported.
|
void |
setImportedUsers(Long importedUsers)
The number of users that were successfully imported.
|
void |
setJobId(String jobId)
The job ID for the user import job.
|
void |
setJobName(String jobName)
The job name for the user import job.
|
void |
setPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the
.csv file. |
void |
setSkippedUsers(Long skippedUsers)
The number of users that were skipped.
|
void |
setStartDate(Date startDate)
The date when the user import job was started.
|
void |
setStatus(String status)
The status of the user import job.
|
void |
setStatus(UserImportJobStatusType status)
The status of the user import job.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool that the users are being imported
into.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserImportJobType |
withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role ARN for the Amazon CloudWatch Logging role for the user import
job.
|
UserImportJobType |
withCompletionDate(Date completionDate)
The date when the user import job was completed.
|
UserImportJobType |
withCompletionMessage(String completionMessage)
The message returned when the user import job is completed.
|
UserImportJobType |
withCreationDate(Date creationDate)
The date the user import job was created.
|
UserImportJobType |
withFailedUsers(Long failedUsers)
The number of users that could not be imported.
|
UserImportJobType |
withImportedUsers(Long importedUsers)
The number of users that were successfully imported.
|
UserImportJobType |
withJobId(String jobId)
The job ID for the user import job.
|
UserImportJobType |
withJobName(String jobName)
The job name for the user import job.
|
UserImportJobType |
withPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the
.csv file. |
UserImportJobType |
withSkippedUsers(Long skippedUsers)
The number of users that were skipped.
|
UserImportJobType |
withStartDate(Date startDate)
The date when the user import job was started.
|
UserImportJobType |
withStatus(String status)
The status of the user import job.
|
UserImportJobType |
withStatus(UserImportJobStatusType status)
The status of the user import job.
|
UserImportJobType |
withUserPoolId(String userPoolId)
The user pool ID for the user pool that the users are being imported
into.
|
public String getJobName()
The job name for the user import job.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
The job name for the user import job.
public void setJobName(String jobName)
The job name for the user import job.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
jobName - The job name for the user import job.
public UserImportJobType withJobName(String jobName)
The job name for the user import job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
jobName - The job name for the user import job.
public String getJobId()
The job ID for the user import job.
Constraints:
Length: 1 - 55
Pattern: import-[0-9a-zA-Z-]+
The job ID for the user import job.
public void setJobId(String jobId)
The job ID for the user import job.
Constraints:
Length: 1 - 55
Pattern: import-[0-9a-zA-Z-]+
jobId - The job ID for the user import job.
public UserImportJobType withJobId(String jobId)
The job ID for the user import job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: import-[0-9a-zA-Z-]+
jobId - The job ID for the user import job.
public String getUserPoolId()
The user pool ID for the user pool that the users are being imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool that the users are being imported into.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool that the users are being imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool that the users are being imported into.
public UserImportJobType withUserPoolId(String userPoolId)
The user pool ID for the user pool that the users are being imported into.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool that the users are being imported into.
public String getPreSignedUrl()
The pre-signed URL to be used to upload the .csv file.
Constraints:
Length: 0 - 2048
The pre-signed URL to be used to upload the .csv
file.
public void setPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the .csv file.
Constraints:
Length: 0 - 2048
preSignedUrl -
The pre-signed URL to be used to upload the .csv
file.
public UserImportJobType withPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the .csv file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
preSignedUrl -
The pre-signed URL to be used to upload the .csv
file.
public Date getCreationDate()
The date the user import job was created.
The date the user import job was created.
public void setCreationDate(Date creationDate)
The date the user import job was created.
creationDate - The date the user import job was created.
public UserImportJobType withCreationDate(Date creationDate)
The date the user import job was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The date the user import job was created.
public Date getStartDate()
The date when the user import job was started.
The date when the user import job was started.
public void setStartDate(Date startDate)
The date when the user import job was started.
startDate - The date when the user import job was started.
public UserImportJobType withStartDate(Date startDate)
The date when the user import job was started.
Returns a reference to this object so that method calls can be chained together.
startDate - The date when the user import job was started.
public Date getCompletionDate()
The date when the user import job was completed.
The date when the user import job was completed.
public void setCompletionDate(Date completionDate)
The date when the user import job was completed.
completionDate - The date when the user import job was completed.
public UserImportJobType withCompletionDate(Date completionDate)
The date when the user import job was completed.
Returns a reference to this object so that method calls can be chained together.
completionDate - The date when the user import job was completed.
public String getStatus()
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 cannot be started.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
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 cannot be started.
UserImportJobStatusTypepublic void setStatus(String 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 cannot be started.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
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 cannot be started.
UserImportJobStatusTypepublic UserImportJobType withStatus(String 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 cannot be started.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
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 cannot be started.
UserImportJobStatusTypepublic void setStatus(UserImportJobStatusType 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 cannot be started.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
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 cannot be started.
UserImportJobStatusTypepublic UserImportJobType withStatus(UserImportJobStatusType 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 cannot be started.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
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 cannot be started.
UserImportJobStatusTypepublic String getCloudWatchLogsRoleArn()
The role 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.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The role 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.
public void setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role 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.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
cloudWatchLogsRoleArn - The role 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.
public UserImportJobType withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role 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 a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
cloudWatchLogsRoleArn - The role 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.
public Long getImportedUsers()
The number of users that were successfully imported.
The number of users that were successfully imported.
public void setImportedUsers(Long importedUsers)
The number of users that were successfully imported.
importedUsers - The number of users that were successfully imported.
public UserImportJobType withImportedUsers(Long importedUsers)
The number of users that were successfully imported.
Returns a reference to this object so that method calls can be chained together.
importedUsers - The number of users that were successfully imported.
public Long getSkippedUsers()
The number of users that were skipped.
The number of users that were skipped.
public void setSkippedUsers(Long skippedUsers)
The number of users that were skipped.
skippedUsers - The number of users that were skipped.
public UserImportJobType withSkippedUsers(Long skippedUsers)
The number of users that were skipped.
Returns a reference to this object so that method calls can be chained together.
skippedUsers - The number of users that were skipped.
public Long getFailedUsers()
The number of users that could not be imported.
The number of users that could not be imported.
public void setFailedUsers(Long failedUsers)
The number of users that could not be imported.
failedUsers - The number of users that could not be imported.
public UserImportJobType withFailedUsers(Long failedUsers)
The number of users that could not be imported.
Returns a reference to this object so that method calls can be chained together.
failedUsers - The number of users that could not be imported.
public String getCompletionMessage()
The message returned when the user import job is completed.
Constraints:
Length: 1 - 128
Pattern: [\w]+
The message returned when the user import job is completed.
public void setCompletionMessage(String completionMessage)
The message returned when the user import job is completed.
Constraints:
Length: 1 - 128
Pattern: [\w]+
completionMessage - The message returned when the user import job is completed.
public UserImportJobType withCompletionMessage(String completionMessage)
The message returned when the user import job is completed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w]+
completionMessage - The message returned when the user import job is completed.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.