@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserPausedDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about when a classification job was paused. For a one-time job, this object also specifies when the job will expire and be cancelled if it isn't resumed. For a recurring job, this object also specifies when the paused job run will expire and be cancelled if it isn't resumed. This object is present only if a job's current status (jobStatus) is USER_PAUSED. The information in this object applies only to a job that was paused while it had a status of RUNNING.
Constructor and Description |
---|
UserPausedDetails() |
Modifier and Type | Method and Description |
---|---|
UserPausedDetails |
clone() |
boolean |
equals(Object obj) |
Date |
getJobExpiresAt()
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if
you don't resume it first.
|
String |
getJobImminentExpirationHealthEventArn()
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's
pending expiration and cancellation.
|
Date |
getJobPausedAt()
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJobExpiresAt(Date jobExpiresAt)
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if
you don't resume it first.
|
void |
setJobImminentExpirationHealthEventArn(String jobImminentExpirationHealthEventArn)
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's
pending expiration and cancellation.
|
void |
setJobPausedAt(Date jobPausedAt)
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
|
String |
toString()
Returns a string representation of this object.
|
UserPausedDetails |
withJobExpiresAt(Date jobExpiresAt)
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if
you don't resume it first.
|
UserPausedDetails |
withJobImminentExpirationHealthEventArn(String jobImminentExpirationHealthEventArn)
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's
pending expiration and cancellation.
|
UserPausedDetails |
withJobPausedAt(Date jobPausedAt)
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
|
public void setJobExpiresAt(Date jobExpiresAt)
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.
jobExpiresAt
- The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be
cancelled if you don't resume it first.public Date getJobExpiresAt()
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.
public UserPausedDetails withJobExpiresAt(Date jobExpiresAt)
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.
jobExpiresAt
- The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be
cancelled if you don't resume it first.public void setJobImminentExpirationHealthEventArn(String jobImminentExpirationHealthEventArn)
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
jobImminentExpirationHealthEventArn
- The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job
run's pending expiration and cancellation. This value is null if a job has been paused for less than 23
days.public String getJobImminentExpirationHealthEventArn()
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
public UserPausedDetails withJobImminentExpirationHealthEventArn(String jobImminentExpirationHealthEventArn)
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
jobImminentExpirationHealthEventArn
- The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job
run's pending expiration and cancellation. This value is null if a job has been paused for less than 23
days.public void setJobPausedAt(Date jobPausedAt)
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
jobPausedAt
- The date and time, in UTC and extended ISO 8601 format, when you paused the job.public Date getJobPausedAt()
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
public UserPausedDetails withJobPausedAt(Date jobPausedAt)
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
jobPausedAt
- The date and time, in UTC and extended ISO 8601 format, when you paused the job.public String toString()
toString
in class Object
Object.toString()
public UserPausedDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.