Class AnalyticsFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnalyticsFilter.Builder,AnalyticsFilter>
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyticsAndOperatorand()A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter.static AnalyticsFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) static AnalyticsFilterCreate an instance of this class withand()initialized to the given value.static AnalyticsFilterCreate an instance of this class withand()initialized to the given value.static AnalyticsFilterfromPrefix(String prefix) Create an instance of this class withprefix()initialized to the given value.static AnalyticsFilterfromTag(Consumer<Tag.Builder> tag) Create an instance of this class withtag()initialized to the given value.static AnalyticsFilterCreate an instance of this class withtag()initialized to the given value.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringprefix()The prefix to use when evaluating an analytics filter.static Class<? extends AnalyticsFilter.Builder>final Tagtag()The tag to use when evaluating an analytics filter.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
prefix
The prefix to use when evaluating an analytics filter.
- Returns:
- The prefix to use when evaluating an analytics filter.
-
tag
The tag to use when evaluating an analytics filter.
- Returns:
- The tag to use when evaluating an analytics filter.
-
and
A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
- Returns:
- A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnalyticsFilter.Builder,AnalyticsFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
fromPrefix
Create an instance of this class withprefix()initialized to the given value.The prefix to use when evaluating an analytics filter.
- Parameters:
prefix- The prefix to use when evaluating an analytics filter.
-
fromTag
Create an instance of this class withtag()initialized to the given value.The tag to use when evaluating an analytics filter.
- Parameters:
tag- The tag to use when evaluating an analytics filter.
-
fromTag
Create an instance of this class withtag()initialized to the given value.The tag to use when evaluating an analytics filter.
- Parameters:
tag- The tag to use when evaluating an analytics filter.
-
fromAnd
Create an instance of this class withand()initialized to the given value.A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
- Parameters:
and- A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
-
fromAnd
Create an instance of this class withand()initialized to the given value.A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
- Parameters:
and- A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAnalyticsFilter.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beAnalyticsFilter.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-