Class CriterionAdditionalProperties
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.CriterionAdditionalProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CriterionAdditionalProperties.Builder,CriterionAdditionalProperties>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCriterionAdditionalProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CriterionAdditionalProperties.Builderbuilder()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Longgt()The value for the property is greater than the specified value.Longgte()The value for the property is greater than or equal to the specified value.booleanhasEq()For responses, this returns true if the service returned a value for the Eq property.booleanhasEqExactMatch()For responses, this returns true if the service returned a value for the EqExactMatch property.inthashCode()booleanhasNeq()For responses, this returns true if the service returned a value for the Neq property.Longlt()The value for the property is less than the specified value.Longlte()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CriterionAdditionalProperties.Builder>serializableBuilderClass()CriterionAdditionalProperties.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
-
hasEq
public final boolean hasEq()
For responses, this returns true if the service returned a value for the Eq property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
eq
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.- Returns:
- The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
-
hasEqExactMatch
public final boolean hasEqExactMatch()
For responses, this returns true if the service returned a value for the EqExactMatch property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
eqExactMatch
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.- Returns:
- 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.
-
gt
public final Long gt()
The value for the property is greater than the specified value.
- Returns:
- The value for the property is greater than the specified value.
-
gte
public final Long gte()
The value for the property is greater than or equal to the specified value.
- Returns:
- The value for the property is greater than or equal to the specified value.
-
lt
public final Long lt()
The value for the property is less than the specified value.
- Returns:
- The value for the property is less than the specified value.
-
lte
public final Long lte()
The value for the property is less than or equal to the specified value.
- Returns:
- The value for the property is less than or equal to the specified value.
-
hasNeq
public final boolean hasNeq()
For responses, this returns true if the service returned a value for the Neq property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
neq
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.- Returns:
- 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.
-
toBuilder
public CriterionAdditionalProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CriterionAdditionalProperties.Builder,CriterionAdditionalProperties>
-
builder
public static CriterionAdditionalProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends CriterionAdditionalProperties.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-