@Generated(value="software.amazon.awssdk:codegen") public final class DescribeClassificationJobResponse extends Macie2Response implements ToCopyableBuilder<DescribeClassificationJobResponse.Builder,DescribeClassificationJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeClassificationJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeClassificationJobResponse.Builder |
builder() |
String |
clientToken()
The token that was provided to ensure the idempotency of the request to create the job.
|
Instant |
createdAt()
The date and time, in UTC and extended ISO 8601 format, when the job was created.
|
List<String> |
customDataIdentifierIds()
The custom data identifiers that the job uses to analyze data.
|
String |
description()
The custom description of the job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCustomDataIdentifierIds()
Returns true if the CustomDataIdentifierIds property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Boolean |
initialRun()
Specifies whether the job has run for the first time.
|
String |
jobArn()
The Amazon Resource Name (ARN) of the job.
|
String |
jobId()
The unique identifier for the job.
|
JobStatus |
jobStatus()
The current status of the job.
|
String |
jobStatusAsString()
The current status of the job.
|
JobType |
jobType()
The schedule for running the job.
|
String |
jobTypeAsString()
The schedule for running the job.
|
Instant |
lastRunTime()
The date and time, in UTC and extended ISO 8601 format, when the job last ran.
|
String |
name()
The custom name of the job.
|
S3JobDefinition |
s3JobDefinition()
The S3 buckets that the job is configured to analyze, and the scope of that analysis.
|
Integer |
samplingPercentage()
The sampling depth, as a percentage, that determines the number of objects that the job processes.
|
JobScheduleFrequency |
scheduleFrequency()
The recurrence pattern for running the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeClassificationJobResponse.Builder> |
serializableBuilderClass() |
Statistics |
statistics()
The number of times that the job has run and processing statistics for the job's most recent run.
|
Map<String,String> |
tags()
A map of key-value pairs that identifies the tags (keys and values) that are associated with the classification
job.
|
DescribeClassificationJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clientToken()
The token that was provided to ensure the idempotency of the request to create the job.
public Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when the job was created.
public boolean hasCustomDataIdentifierIds()
public List<String> customDataIdentifierIds()
The custom data identifiers that the job uses to analyze data.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCustomDataIdentifierIds() to see if a value was sent in this field.
public String description()
The custom description of the job.
public Boolean initialRun()
Specifies whether the job has run for the first time.
public String jobArn()
The Amazon Resource Name (ARN) of the job.
public String jobId()
The unique identifier for the job.
public 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.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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.
JobStatuspublic String jobStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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.
JobStatuspublic 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. The scheduleFrequency property indicates the recurrence pattern for the job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
ONE_TIME - The job ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
JobTypepublic String jobTypeAsString()
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. The scheduleFrequency property indicates the recurrence pattern for the job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
ONE_TIME - The job ran or will run only once.
SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
JobTypepublic Instant lastRunTime()
The date and time, in UTC and extended ISO 8601 format, when the job last ran.
public String name()
The custom name of the job.
public S3JobDefinition s3JobDefinition()
The S3 buckets that the job is configured to analyze, and the scope of that analysis.
public Integer samplingPercentage()
The sampling depth, as a percentage, that determines the number of objects that the job processes.
public JobScheduleFrequency scheduleFrequency()
The recurrence pattern for running the job. If the job is configured to run only once, this value is null.
public Statistics statistics()
The number of times that the job has run and processing statistics for the job's most recent run.
public boolean hasTags()
public Map<String,String> tags()
A map of key-value pairs that identifies the tags (keys and values) that are associated with the classification job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public DescribeClassificationJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeClassificationJobResponse.Builder,DescribeClassificationJobResponse>toBuilder in class AwsResponsepublic static DescribeClassificationJobResponse.Builder builder()
public static Class<? extends DescribeClassificationJobResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.