Class DocumentClassificationJobFilter
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.DocumentClassificationJobFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentClassificationJobFilter.Builder,DocumentClassificationJobFilter>
@Generated("software.amazon.awssdk:codegen") public final class DocumentClassificationJobFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentClassificationJobFilter.Builder,DocumentClassificationJobFilter>
Provides information for filtering a list of document classification jobs. For more information, see the operation. You can provide only one filter parameter in each request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentClassificationJobFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentClassificationJobFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobName()Filters on the name of the job.JobStatusjobStatus()Filters the list based on job status.StringjobStatusAsString()Filters the list based on job status.List<SdkField<?>>sdkFields()static Class<? extends DocumentClassificationJobFilter.Builder>serializableBuilderClass()InstantsubmitTimeAfter()Filters the list of jobs based on the time that the job was submitted for processing.InstantsubmitTimeBefore()Filters the list of jobs based on the time that the job was submitted for processing.DocumentClassificationJobFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobName
public final String jobName()
Filters on the name of the job.
- Returns:
- Filters on the name of the job.
-
jobStatus
public final JobStatus jobStatus()
Filters the list based on job status. Returns only jobs with the specified status.
If the service returns an enum value that is not available in the current SDK version,
jobStatuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStatusAsString().- Returns:
- Filters the list based on job status. Returns only jobs with the specified status.
- See Also:
JobStatus
-
jobStatusAsString
public final String jobStatusAsString()
Filters the list based on job status. Returns only jobs with the specified status.
If the service returns an enum value that is not available in the current SDK version,
jobStatuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStatusAsString().- Returns:
- Filters the list based on job status. Returns only jobs with the specified status.
- See Also:
JobStatus
-
submitTimeBefore
public final Instant submitTimeBefore()
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
- Returns:
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
-
submitTimeAfter
public final Instant submitTimeAfter()
Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
- Returns:
- Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
-
toBuilder
public DocumentClassificationJobFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentClassificationJobFilter.Builder,DocumentClassificationJobFilter>
-
builder
public static DocumentClassificationJobFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentClassificationJobFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-