@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserImportJobType extends Object implements Serializable, Cloneable, StructuredPojo
The user import job type.
Constructor and Description |
---|
UserImportJobType() |
Modifier and Type | Method and Description |
---|---|
UserImportJobType |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogsRoleArn()
The role Amazon Resource Name (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 and time when the item was created.
|
Long |
getFailedUsers()
The number of users that couldn't 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role Amazon Resource Name (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 and time when the item was created.
|
void |
setFailedUsers(Long failedUsers)
The number of users that couldn't 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.
|
UserImportJobType |
withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The role Amazon Resource Name (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 and time when the item was created.
|
UserImportJobType |
withFailedUsers(Long failedUsers)
The number of users that couldn't 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 void setJobName(String jobName)
The job name for the user import job.
jobName
- The job name for the user import job.public String getJobName()
The job name for the user import job.
public UserImportJobType withJobName(String jobName)
The job name for the user import job.
jobName
- The job name for the user import job.public void setJobId(String jobId)
The job ID for the user import job.
jobId
- The job ID for the user import job.public String getJobId()
The job ID for the user import job.
public UserImportJobType withJobId(String jobId)
The job ID for the user import job.
jobId
- The job ID for the user import job.public void setUserPoolId(String userPoolId)
The user pool ID for the user pool that the users are being imported into.
userPoolId
- The user pool ID for the user pool that the users are being imported into.public String getUserPoolId()
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.
userPoolId
- The user pool ID for the user pool that the users are being imported into.public void setPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the .csv
file.
preSignedUrl
- The pre-signed URL to be used to upload the .csv
file.public String getPreSignedUrl()
The pre-signed URL to be used to upload the .csv
file.
.csv
file.public UserImportJobType withPreSignedUrl(String preSignedUrl)
The pre-signed URL to be used to upload the .csv
file.
preSignedUrl
- The pre-signed URL to be used to upload the .csv
file.public void setCreationDate(Date 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.
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.public Date getCreationDate()
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.
Date
object.public UserImportJobType withCreationDate(Date 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.
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.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 Date getStartDate()
The date when the user import job was started.
public UserImportJobType withStartDate(Date startDate)
The date when the user import job was started.
startDate
- The date when the user import job was started.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 Date getCompletionDate()
The date when the user import job was completed.
public UserImportJobType withCompletionDate(Date completionDate)
The date when the user import job was completed.
completionDate
- The date when the user import job was completed.public 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 can't be started.
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.
UserImportJobStatusType
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 can't be started.
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.
UserImportJobStatusType
public 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 can't be started.
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.
UserImportJobStatusType
public 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 can't be started.
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.
UserImportJobStatusType
public 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 can't be started.
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.
UserImportJobStatusType
public void setCloudWatchLogsRoleArn(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.
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.public String getCloudWatchLogsRoleArn()
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.
public UserImportJobType withCloudWatchLogsRoleArn(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.
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.public void setImportedUsers(Long importedUsers)
The number of users that were successfully imported.
importedUsers
- The number of users that were successfully imported.public Long getImportedUsers()
The number of users that were successfully imported.
public UserImportJobType withImportedUsers(Long importedUsers)
The number of users that were successfully imported.
importedUsers
- The number of users that were successfully imported.public void setSkippedUsers(Long skippedUsers)
The number of users that were skipped.
skippedUsers
- The number of users that were skipped.public Long getSkippedUsers()
The number of users that were skipped.
public UserImportJobType withSkippedUsers(Long skippedUsers)
The number of users that were skipped.
skippedUsers
- The number of users that were skipped.public void setFailedUsers(Long failedUsers)
The number of users that couldn't be imported.
failedUsers
- The number of users that couldn't be imported.public Long getFailedUsers()
The number of users that couldn't be imported.
public UserImportJobType withFailedUsers(Long failedUsers)
The number of users that couldn't be imported.
failedUsers
- The number of users that couldn't be imported.public void setCompletionMessage(String completionMessage)
The message returned when the user import job is completed.
completionMessage
- The message returned when the user import job is completed.public String getCompletionMessage()
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.
completionMessage
- The message returned when the user import job is completed.public String toString()
toString
in class Object
Object.toString()
public UserImportJobType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.