/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.macie2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* 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 AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CriterionAdditionalProperties implements Serializable, Cloneable, StructuredPojo { /** ** The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR * logic to join the values. *
*/ private java.util.List* 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. *
*/ private java.util.List* The value for the property is greater than the specified value. *
*/ private Long gt; /** ** The value for the property is greater than or equal to the specified value. *
*/ private Long gte; /** ** The value for the property is less than the specified value. *
*/ private Long lt; /** ** The value for the property is less than or equal to the specified value. *
*/ private Long lte; /** ** 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. *
*/ private java.util.List* The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR * logic to join the values. *
* * @return The value for the property matches (equals) the specified value. If you specify multiple values, Macie * uses OR logic to join the values. */ public java.util.List* The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR * logic to join the values. *
* * @param eq * The value for the property matches (equals) the specified value. If you specify multiple values, Macie * uses OR logic to join the values. */ public void setEq(java.util.Collection* The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR * logic to join the values. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEq(java.util.Collection)} or {@link #withEq(java.util.Collection)} if you want to override the * existing values. *
* * @param eq * The value for the property matches (equals) the specified value. If you specify multiple values, Macie * uses OR logic to join the values. * @return Returns a reference to this object so that method calls can be chained together. */ public CriterionAdditionalProperties withEq(String... eq) { if (this.eq == null) { setEq(new java.util.ArrayList* The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR * logic to join the values. *
* * @param eq * The value for the property matches (equals) the specified value. If you specify multiple values, Macie * uses OR logic to join the values. * @return Returns a reference to this object so that method calls can be chained together. */ public CriterionAdditionalProperties withEq(java.util.Collection* 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. *
* * @return 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.
*/
public java.util.List
* 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.
*
* 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 void setEqExactMatch(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setEqExactMatch(java.util.Collection)} or {@link #withEqExactMatch(java.util.Collection)} if you want to
* override the existing 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CriterionAdditionalProperties withEqExactMatch(String... eqExactMatch) {
if (this.eqExactMatch == null) {
setEqExactMatch(new java.util.ArrayList
* 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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CriterionAdditionalProperties withEqExactMatch(java.util.Collection
* The value for the property is greater than the specified value.
*
* The value for the property is greater than the specified value.
*
* The value for the property is greater than the specified value.
*
* The value for the property is greater than or equal to the specified value.
*
* The value for the property is greater than or equal to the specified value.
*
* The value for the property is greater than or equal to the specified value.
*
* The value for the property is less than the specified value.
*
* The value for the property is less than the specified value.
*
* The value for the property is less than the specified value.
*
* The value for the property is less than or equal to the specified value.
*
* The value for the property is less than or equal to the specified value.
*
* The value for the property is less than or equal to the specified value.
*
* 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.
*
* 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.
*
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setNeq(java.util.Collection)} or {@link #withNeq(java.util.Collection)} if you want to override the
* existing values.
*
* 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.
*