public SearchResourcesSimpleCriterion withValues(java.util.Collection<String> values) {
        setValues(values);
        return this;
    }
<p>
An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses
OR logic to join the values. Valid values for each supported property (key) are:
</p>
<ul>
<li>
<p>
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the
resource.
</p>
</li>
<li>
<p>
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the
<a href=
"https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-automateddiscoverymonitoringstatus"
>BucketMetadata.automatedDiscoveryMonitoringStatus</a> property of an S3 bucket.
</p>
</li>
<li>
<p>
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the <a href=
"https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission"
>BucketPublicAccess.effectivePermission</a> property of an S3 bucket.
</p>
</li>
<li>
<p>
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
</p>
</li>
<li>
<p>
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href=
"https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess"
>BucketMetadata.sharedAccess</a> property of an S3 bucket.
</p>
</li>
</ul>
<p>
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
</p>

@param values
       An array that lists one or more values to use in the condition. If you specify multiple values, Amazon
       Macie uses OR logic to join the values. Valid values for each supported property (key) are:</p>
       <ul>
       <li>
       <p>
       ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns
       the resource.
       </p>
       </li>
       <li>
       <p>
       AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines
       for the <a href=
       "https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-automateddiscoverymonitoringstatus"
       >BucketMetadata.automatedDiscoveryMonitoringStatus</a> property of an S3 bucket.
       </p>
       </li>
       <li>
       <p>
       S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the
       <a href=
       "https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission"
       >BucketPublicAccess.effectivePermission</a> property of an S3 bucket.
       </p>
       </li>
       <li>
       <p>
       S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
       </p>
       </li>
       <li>
       <p>
       S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href=
       "https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess"
       >BucketMetadata.sharedAccess</a> property of an S3 bucket.
       </p>
       </li>
       </ul>
       <p>
       Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in
       values.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/SearchResourcesSimpleCriterion.java