@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()
Deprecated.
|
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()
Deprecated.
|
Integer |
gte()
Deprecated.
|
boolean |
hasEq()
Deprecated.
|
boolean |
hasEqualsValue()
For responses, this returns true if the service returned a value for the Equals property.
|
int |
hashCode() |
boolean |
hasNeq()
Deprecated.
|
boolean |
hasNotEquals()
For responses, this returns true if the service returned a value for the NotEquals property.
|
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()
Deprecated.
|
Integer |
lte()
Deprecated.
|
List<String> |
neq()
Deprecated.
|
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, waitcopy@Deprecated public final boolean hasEq()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.@Deprecated public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEq() method.
@Deprecated public final boolean hasNeq()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.@Deprecated public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNeq() method.
@Deprecated public final Integer gt()
Represents a greater than condition to be applied to a single field when querying for findings.
@Deprecated public final Integer gte()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
@Deprecated public final Integer lt()
Represents a less than condition to be applied to a single field when querying for findings.
@Deprecated public final Integer lte()
Represents a less than or equal condition to be applied to a single field when querying for findings.
public final boolean hasEqualsValue()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEqualsValue() method.
public final boolean hasNotEquals()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotEquals() method.
public final Long greaterThan()
Represents a greater than condition to be applied to a single field when querying for findings.
public final Long greaterThanOrEqual()
Represents a greater than or equal condition to be applied to a single field when querying for findings.
public final Long lessThan()
Represents a less than condition to be applied to a single field when querying for findings.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.