@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesSimpleCriterion extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.
Constructor and Description |
---|
SearchResourcesSimpleCriterion() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesSimpleCriterion |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The operator to use in the condition.
|
String |
getKey()
The property to use in the condition.
|
List<String> |
getValues()
An array that lists one or more values to use in the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparator(String comparator)
The operator to use in the condition.
|
void |
setKey(String key)
The property to use in the condition.
|
void |
setValues(Collection<String> values)
An array that lists one or more values to use in the condition.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesSimpleCriterion |
withComparator(SearchResourcesComparator comparator)
The operator to use in the condition.
|
SearchResourcesSimpleCriterion |
withComparator(String comparator)
The operator to use in the condition.
|
SearchResourcesSimpleCriterion |
withKey(SearchResourcesSimpleCriterionKey key)
The property to use in the condition.
|
SearchResourcesSimpleCriterion |
withKey(String key)
The property to use in the condition.
|
SearchResourcesSimpleCriterion |
withValues(Collection<String> values)
An array that lists one or more values to use in the condition.
|
SearchResourcesSimpleCriterion |
withValues(String... values)
An array that lists one or more values to use in the condition.
|
public void setComparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator
- The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).SearchResourcesComparator
public String getComparator()
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
SearchResourcesComparator
public SearchResourcesSimpleCriterion withComparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator
- The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).SearchResourcesComparator
public SearchResourcesSimpleCriterion withComparator(SearchResourcesComparator comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator
- The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).SearchResourcesComparator
public void setKey(String key)
The property to use in the condition.
key
- The property to use in the condition.SearchResourcesSimpleCriterionKey
public String getKey()
The property to use in the condition.
SearchResourcesSimpleCriterionKey
public SearchResourcesSimpleCriterion withKey(String key)
The property to use in the condition.
key
- The property to use in the condition.SearchResourcesSimpleCriterionKey
public SearchResourcesSimpleCriterion withKey(SearchResourcesSimpleCriterionKey key)
The property to use in the condition.
key
- The property to use in the condition.SearchResourcesSimpleCriterionKey
public List<String> getValues()
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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
public void setValues(Collection<String> 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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
public SearchResourcesSimpleCriterion withValues(String... 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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
public SearchResourcesSimpleCriterion withValues(Collection<String> 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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
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:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
AUTOMATED_DISCOVERY_MONITORING_STATUS - A string that represents an enumerated value that Macie defines for the BucketMetadata.automatedDiscoveryMonitoringStatus property of an S3 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
public String toString()
toString
in class Object
Object.toString()
public SearchResourcesSimpleCriterion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.