@Generated(value="software.amazon.awssdk:codegen") public final class CrawlsFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CrawlsFilter.Builder,CrawlsFilter>
A list of fields, comparators and value that you can use to filter the crawler runs for a specified crawler.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CrawlsFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CrawlsFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FieldName |
fieldName()
A key used to filter the crawler runs for a specified crawler.
|
String |
fieldNameAsString()
A key used to filter the crawler runs for a specified crawler.
|
String |
fieldValue()
The value provided for comparison on the crawl field.
|
FilterOperator |
filterOperator()
A defined comparator that operates on the value.
|
String |
filterOperatorAsString()
A defined comparator that operates on the value.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CrawlsFilter.Builder> |
serializableBuilderClass() |
CrawlsFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FieldName fieldName()
A key used to filter the crawler runs for a specified crawler. Valid values for each of the field names are:
CRAWL_ID: A string representing the UUID identifier for a crawl.
STATE: A string representing the state of the crawl.
START_TIME and END_TIME: The epoch timestamp in milliseconds.
DPU_HOUR: The number of data processing unit (DPU) hours used for the crawl.
If the service returns an enum value that is not available in the current SDK version, fieldName will
return FieldName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldNameAsString().
CRAWL_ID: A string representing the UUID identifier for a crawl.
STATE: A string representing the state of the crawl.
START_TIME and END_TIME: The epoch timestamp in milliseconds.
DPU_HOUR: The number of data processing unit (DPU) hours used for the crawl.
FieldNamepublic final String fieldNameAsString()
A key used to filter the crawler runs for a specified crawler. Valid values for each of the field names are:
CRAWL_ID: A string representing the UUID identifier for a crawl.
STATE: A string representing the state of the crawl.
START_TIME and END_TIME: The epoch timestamp in milliseconds.
DPU_HOUR: The number of data processing unit (DPU) hours used for the crawl.
If the service returns an enum value that is not available in the current SDK version, fieldName will
return FieldName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldNameAsString().
CRAWL_ID: A string representing the UUID identifier for a crawl.
STATE: A string representing the state of the crawl.
START_TIME and END_TIME: The epoch timestamp in milliseconds.
DPU_HOUR: The number of data processing unit (DPU) hours used for the crawl.
FieldNamepublic final FilterOperator filterOperator()
A defined comparator that operates on the value. The available operators are:
GT: Greater than.
GE: Greater than or equal to.
LT: Less than.
LE: Less than or equal to.
EQ: Equal to.
NE: Not equal to.
If the service returns an enum value that is not available in the current SDK version, filterOperator
will return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterOperatorAsString().
GT: Greater than.
GE: Greater than or equal to.
LT: Less than.
LE: Less than or equal to.
EQ: Equal to.
NE: Not equal to.
FilterOperatorpublic final String filterOperatorAsString()
A defined comparator that operates on the value. The available operators are:
GT: Greater than.
GE: Greater than or equal to.
LT: Less than.
LE: Less than or equal to.
EQ: Equal to.
NE: Not equal to.
If the service returns an enum value that is not available in the current SDK version, filterOperator
will return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterOperatorAsString().
GT: Greater than.
GE: Greater than or equal to.
LT: Less than.
LE: Less than or equal to.
EQ: Equal to.
NE: Not equal to.
FilterOperatorpublic final String fieldValue()
The value provided for comparison on the crawl field.
public CrawlsFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CrawlsFilter.Builder,CrawlsFilter>public static CrawlsFilter.Builder builder()
public static Class<? extends CrawlsFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.