@Generated(value="software.amazon.awssdk:codegen") public final class Condition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Condition.Builder,Condition>
Contains information about the condition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Condition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Condition.Builder |
builder() |
List<String> |
eq()
Represents the equal condition to be applied to a single field when querying for findings.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
equalsValue()
Represents an equal condition to be applied to a single field when querying for findings.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Long |
greaterThan()
Represents a greater than condition to be applied to a single field when querying for findings.
|
Long |
greaterThanOrEqual()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
|
Integer |
gt()
Represents a greater than condition to be applied to a single field when querying for findings.
|
Integer |
gte()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
|
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).
|
boolean |
hasEqualsValue()
Returns true if the Equals 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).
|
boolean |
hasNotEquals()
Returns true if the NotEquals property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Long |
lessThan()
Represents a less than condition to be applied to a single field when querying for findings.
|
Long |
lessThanOrEqual()
Represents a less than or equal condition to be applied to a single field when querying for findings.
|
Integer |
lt()
Represents a less than condition to be applied to a single field when querying for findings.
|
Integer |
lte()
Represents a less than or equal condition to be applied to a single field when querying for findings.
|
List<String> |
neq()
Represents the not equal condition to be applied to a single field when querying for findings.
|
List<String> |
notEquals()
Represents a not equal condition to be applied to a single field when querying for findings.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Condition.Builder> |
serializableBuilderClass() |
Condition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasEq()
public List<String> eq()
Represents the equal condition to be applied to a single field when querying for findings.
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 hasNeq()
public List<String> neq()
Represents the not equal condition to be applied to a single field when querying for findings.
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 Integer gt()
Represents a greater than condition to be applied to a single field when querying for findings.
public Integer gte()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
public Integer lt()
Represents a less than condition to be applied to a single field when querying for findings.
public Integer lte()
Represents a less than or equal condition to be applied to a single field when querying for findings.
public boolean hasEqualsValue()
public List<String> equalsValue()
Represents an equal condition to be applied to a single field when querying for findings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEqualsValue() to see if a value was sent in this field.
public boolean hasNotEquals()
public List<String> notEquals()
Represents a not equal condition to be applied to a single field when querying for findings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotEquals() to see if a value was sent in this field.
public Long greaterThan()
Represents a greater than condition to be applied to a single field when querying for findings.
public Long greaterThanOrEqual()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
public Long lessThan()
Represents a less than condition to be applied to a single field when querying for findings.
public Long lessThanOrEqual()
Represents a less than or equal condition to be applied to a single field when querying for findings.
public Condition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Condition.Builder,Condition>public static Condition.Builder builder()
public static Class<? extends Condition.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.