@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.
|
String |
getName()
The custom name of the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 |
setName(String name)
The custom name of the job.
|
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 |
withName(String name)
The custom name of the job.
|
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 - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
jobStatus
- The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
JobStatus
public String getJobStatus()
The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
JobStatus
public JobSummary withJobStatus(String jobStatus)
The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
jobStatus
- The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
JobStatus
public JobSummary withJobStatus(JobStatus jobStatus)
The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
jobStatus
- The current status of the job. Possible values are:
CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.
COMPLETE - Amazon Macie finished processing all the data specified for the job.
IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.
PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.
RUNNING - The job is in progress.
JobStatus
public void setJobType(String jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job ran or will run 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 ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobType
public String getJobType()
The schedule for running the job. Possible values are:
ONE_TIME - The job ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
ONE_TIME - The job ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobType
public JobSummary withJobType(String jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job ran or will run 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 ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobType
public JobSummary withJobType(JobType jobType)
The schedule for running the job. Possible values are:
ONE_TIME - The job ran or will run 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 ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis.
JobType
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 String toString()
toString
in class Object
Object.toString()
public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.