@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a classification job, including the current status of the job.
| Constructor and Description |
|---|
JobSummary() |
| Modifier and Type | Method and Description |
|---|---|
JobSummary |
clone() |
boolean |
equals(Object obj) |
List<S3BucketDefinitionForJob> |
getBucketDefinitions()
The S3 buckets that the job is configured to analyze.
|
Date |
getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the job was created.
|
String |
getJobId()
The unique identifier for the job.
|
String |
getJobStatus()
The current status of the job.
|
String |
getJobType()
The schedule for running the job.
|
LastRunErrorStatus |
getLastRunErrorStatus()
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
String |
getName()
The custom name of the job.
|
UserPausedDetails |
getUserPausedDetails()
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire
and be cancelled if it isn't resumed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
The S3 buckets that the job is configured to analyze.
|
void |
setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the job was created.
|
void |
setJobId(String jobId)
The unique identifier for the job.
|
void |
setJobStatus(String jobStatus)
The current status of the job.
|
void |
setJobType(String jobType)
The schedule for running the job.
|
void |
setLastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
void |
setName(String name)
The custom name of the job.
|
void |
setUserPausedDetails(UserPausedDetails userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire
and be cancelled if it isn't resumed.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
The S3 buckets that the job is configured to analyze.
|
JobSummary |
withBucketDefinitions(S3BucketDefinitionForJob... bucketDefinitions)
The S3 buckets that the job is configured to analyze.
|
JobSummary |
withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the job was created.
|
JobSummary |
withJobId(String jobId)
The unique identifier for the job.
|
JobSummary |
withJobStatus(JobStatus jobStatus)
The current status of the job.
|
JobSummary |
withJobStatus(String jobStatus)
The current status of the job.
|
JobSummary |
withJobType(JobType jobType)
The schedule for running the job.
|
JobSummary |
withJobType(String jobType)
The schedule for running the job.
|
JobSummary |
withLastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
JobSummary |
withName(String name)
The custom name of the job.
|
JobSummary |
withUserPausedDetails(UserPausedDetails userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire
and be cancelled if it isn't resumed.
|
public List<S3BucketDefinitionForJob> getBucketDefinitions()
The S3 buckets that the job is configured to analyze.
public void setBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
The S3 buckets that the job is configured to analyze.
bucketDefinitions - The S3 buckets that the job is configured to analyze.public JobSummary withBucketDefinitions(S3BucketDefinitionForJob... bucketDefinitions)
The S3 buckets that the job is configured to analyze.
NOTE: This method appends the values to the existing list (if any). Use
setBucketDefinitions(java.util.Collection) or withBucketDefinitions(java.util.Collection) if
you want to override the existing values.
bucketDefinitions - The S3 buckets that the job is configured to analyze.public JobSummary withBucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)
The S3 buckets that the job is configured to analyze.
bucketDefinitions - The S3 buckets that the job is configured to analyze.public void setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the job was created.
createdAt - The date and time, in UTC and extended ISO 8601 format, when the job was created.public Date getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the job was created.
public JobSummary withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the job was created.
createdAt - The date and time, in UTC and extended ISO 8601 format, when the job was created.public void setJobId(String jobId)
The unique identifier for the job.
jobId - The unique identifier for the job.public String getJobId()
The unique identifier for the job.
public JobSummary withJobId(String jobId)
The unique identifier for the job.
jobId - The unique identifier for the job.public void setJobStatus(String jobStatus)
The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
jobStatus - The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
JobStatuspublic String getJobStatus()
The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
JobStatuspublic JobSummary withJobStatus(String jobStatus)
The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
jobStatus - The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
JobStatuspublic JobSummary withJobStatus(JobStatus jobStatus)
The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
jobStatus - The current status of the job. Possible values are:
CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it.
COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.
PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account.
RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.
USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
JobStatuspublic void setJobType(String jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
jobType - The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobTypepublic String getJobType()
The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobTypepublic JobSummary withJobType(String jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
jobType - The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobTypepublic JobSummary withJobType(JobType jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
jobType - The schedule for running the job. Possible values are:
ONE_TIME - The job runs only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobTypepublic void setLastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
lastRunErrorStatus - Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring
job, this value indicates the error status of the job's most recent run.public LastRunErrorStatus getLastRunErrorStatus()
Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
public JobSummary withLastRunErrorStatus(LastRunErrorStatus lastRunErrorStatus)
Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
lastRunErrorStatus - Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring
job, this value indicates the error status of the job's most recent run.public void setName(String name)
The custom name of the job.
name - The custom name of the job.public String getName()
The custom name of the job.
public JobSummary withName(String name)
The custom name of the job.
name - The custom name of the job.public void setUserPausedDetails(UserPausedDetails userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
userPausedDetails - If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will
expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is
USER_PAUSED.public UserPausedDetails getUserPausedDetails()
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
public JobSummary withUserPausedDetails(UserPausedDetails userPausedDetails)
If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
userPausedDetails - If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will
expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is
USER_PAUSED.public String toString()
toString in class ObjectObject.toString()public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.