@Generated(value="software.amazon.awssdk:codegen") public final class MetricsAndOperator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricsAndOperator.Builder,MetricsAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
Modifier and Type | Class and Description |
---|---|
static interface |
MetricsAndOperator.Builder |
Modifier and Type | Method and Description |
---|---|
static MetricsAndOperator.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The prefix used when evaluating an AND predicate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricsAndOperator.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The list of tags used when evaluating an AND predicate.
|
MetricsAndOperator.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 used when evaluating an AND predicate.
public List<Tag> tags()
The list of tags used when evaluating an AND predicate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public MetricsAndOperator.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<MetricsAndOperator.Builder,MetricsAndOperator>
public static MetricsAndOperator.Builder builder()
public static Class<? extends MetricsAndOperator.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.