@Generated(value="software.amazon.awssdk:codegen") public final class CriterionAdditionalProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CriterionAdditionalProperties.Builder,CriterionAdditionalProperties>
Specifies the operator to use in a property-based condition that filters the results of a query for findings. For detailed information and examples of each operator, see Fundamentals of filtering findings in the Amazon Macie User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CriterionAdditionalProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CriterionAdditionalProperties.Builder |
builder() |
List<String> |
eq()
The value for the property matches (equals) the specified value.
|
List<String> |
eqExactMatch()
The value for the property exclusively matches (equals an exact match for) all the specified values.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Long |
gt()
The value for the property is greater than the specified value.
|
Long |
gte()
The value for the property is greater than or equal to the specified value.
|
boolean |
hasEq()
For responses, this returns true if the service returned a value for the Eq property.
|
boolean |
hasEqExactMatch()
For responses, this returns true if the service returned a value for the EqExactMatch property.
|
int |
hashCode() |
boolean |
hasNeq()
For responses, this returns true if the service returned a value for the Neq property.
|
Long |
lt()
The value for the property is less than the specified value.
|
Long |
lte()
The value for the property is less than or equal to the specified value.
|
List<String> |
neq()
The value for the property doesn't match (doesn't equal) the specified value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CriterionAdditionalProperties.Builder> |
serializableBuilderClass() |
CriterionAdditionalProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasEq()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<String> eq()
The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEq() method.
public final boolean hasEqExactMatch()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> eqExactMatch()
The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEqExactMatch() method.
You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.
public final Long gt()
The value for the property is greater than the specified value.
public final Long gte()
The value for the property is greater than or equal to the specified value.
public final Long lt()
The value for the property is less than the specified value.
public final Long lte()
The value for the property is less than or equal to the specified value.
public final boolean hasNeq()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<String> neq()
The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNeq() method.
public CriterionAdditionalProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CriterionAdditionalProperties.Builder,CriterionAdditionalProperties>public static CriterionAdditionalProperties.Builder builder()
public static Class<? extends CriterionAdditionalProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.