@Generated(value="software.amazon.awssdk:codegen") public final class JobDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobDetails.Builder,JobDetails>
Specifies whether any one-time or recurring classification jobs are configured to analyze data in an S3 bucket, and, if so, the details of the job that ran most recently.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IsDefinedInJob |
isDefinedInJob()
Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket.
|
String |
isDefinedInJobAsString()
Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket.
|
IsMonitoredByJob |
isMonitoredByJob()
Specifies whether any recurring jobs are configured to analyze data in the bucket.
|
String |
isMonitoredByJobAsString()
Specifies whether any recurring jobs are configured to analyze data in the bucket.
|
String |
lastJobId()
The unique identifier for the job that ran most recently (either the latest run of a recurring job or the only
run of a one-time job) and is configured to analyze data in the bucket.
|
Instant |
lastJobRunTime()
The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobDetails.Builder> |
serializableBuilderClass() |
JobDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic IsDefinedInJob isDefinedInJob()
Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:
TRUE - One or more jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No jobs are configured to analyze data in the bucket, or all the jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
If the service returns an enum value that is not available in the current SDK version, isDefinedInJob
will return IsDefinedInJob.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from isDefinedInJobAsString().
TRUE - One or more jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No jobs are configured to analyze data in the bucket, or all the jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
IsDefinedInJobpublic String isDefinedInJobAsString()
Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:
TRUE - One or more jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No jobs are configured to analyze data in the bucket, or all the jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
If the service returns an enum value that is not available in the current SDK version, isDefinedInJob
will return IsDefinedInJob.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from isDefinedInJobAsString().
TRUE - One or more jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No jobs are configured to analyze data in the bucket, or all the jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
IsDefinedInJobpublic IsMonitoredByJob isMonitoredByJob()
Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:
TRUE - One or more recurring jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No recurring jobs are configured to analyze data in the bucket, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
If the service returns an enum value that is not available in the current SDK version, isMonitoredByJob
will return IsMonitoredByJob.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from isMonitoredByJobAsString().
TRUE - One or more recurring jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No recurring jobs are configured to analyze data in the bucket, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
IsMonitoredByJobpublic String isMonitoredByJobAsString()
Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:
TRUE - One or more recurring jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No recurring jobs are configured to analyze data in the bucket, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
If the service returns an enum value that is not available in the current SDK version, isMonitoredByJob
will return IsMonitoredByJob.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from isMonitoredByJobAsString().
TRUE - One or more recurring jobs is configured to analyze data in the bucket, and at least one of those jobs has a status other than CANCELLED.
FALSE - No recurring jobs are configured to analyze data in the bucket, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.
UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.
IsMonitoredByJobpublic String lastJobId()
The unique identifier for the job that ran most recently (either the latest run of a recurring job or the only run of a one-time job) and is configured to analyze data in the bucket.
This value is null if the value for the isDefinedInJob property is FALSE or UNKNOWN.
This value is null if the value for the isDefinedInJob property is FALSE or UNKNOWN.
public Instant lastJobRunTime()
The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.
This value is null if the value for the isDefinedInJob property is FALSE or UNKNOWN.
This value is null if the value for the isDefinedInJob property is FALSE or UNKNOWN.
public JobDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobDetails.Builder,JobDetails>public static JobDetails.Builder builder()
public static Class<? extends JobDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.