@Generated(value="software.amazon.awssdk:codegen") public final class AnalyticsAndOperator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsAndOperator.Builder,AnalyticsAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.
Modifier and Type | Class and Description |
---|---|
static interface |
AnalyticsAndOperator.Builder |
Modifier and Type | Method and Description |
---|---|
static AnalyticsAndOperator.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
prefix()
The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the
metrics results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyticsAndOperator.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The list of tags to use when evaluating an AND predicate.
|
AnalyticsAndOperator.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String prefix()
The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.
public boolean hasTags()
public List<Tag> tags()
The list of tags to use when evaluating an AND predicate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public AnalyticsAndOperator.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AnalyticsAndOperator.Builder,AnalyticsAndOperator>
public static AnalyticsAndOperator.Builder builder()
public static Class<? extends AnalyticsAndOperator.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.