@Generated(value="software.amazon.awssdk:codegen") public final class Criterion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Criterion.Builder,Criterion>
The criteria to use in the filter that defines the archive rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Criterion.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Criterion.Builder |
builder() |
List<String> |
contains()
A "contains" operator to match for the filter used to create the rule.
|
List<String> |
eq()
An "equals" operator to match for the filter used to create the rule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
exists()
An "exists" operator to match for the filter used to create the rule.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasContains()
Returns true if the Contains property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasEq()
Returns true if the Eq property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNeq()
Returns true if the Neq property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<String> |
neq()
A "not equals" operator to match for the filter used to create the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Criterion.Builder> |
serializableBuilderClass() |
Criterion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasContains()
public List<String> contains()
A "contains" operator to match for the filter used to create the rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasContains() to see if a value was sent in this field.
public boolean hasEq()
public List<String> eq()
An "equals" operator to match for the filter used to create the rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEq() to see if a value was sent in this field.
public Boolean exists()
An "exists" operator to match for the filter used to create the rule.
public boolean hasNeq()
public List<String> neq()
A "not equals" operator to match for the filter used to create the rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNeq() to see if a value was sent in this field.
public Criterion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Criterion.Builder,Criterion>public static Criterion.Builder builder()
public static Class<? extends Criterion.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.