Interface AnalyticsAndOperator.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalyticsAndOperator.Builder,AnalyticsAndOperator>
,SdkBuilder<AnalyticsAndOperator.Builder,AnalyticsAndOperator>
,SdkPojo
- Enclosing class:
- AnalyticsAndOperator
public static interface AnalyticsAndOperator.Builder extends SdkPojo, CopyableBuilder<AnalyticsAndOperator.Builder,AnalyticsAndOperator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalyticsAndOperator.Builder
prefix(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.AnalyticsAndOperator.Builder
tags(Collection<Tag> tags)
The list of tags to use when evaluating an AND predicate.AnalyticsAndOperator.Builder
tags(Consumer<Tag.Builder>... tags)
The list of tags to use when evaluating an AND predicate.AnalyticsAndOperator.Builder
tags(Tag... tags)
The list of tags to use when evaluating an AND predicate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
prefix
AnalyticsAndOperator.Builder prefix(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.
- Parameters:
prefix
- The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AnalyticsAndOperator.Builder tags(Collection<Tag> tags)
The list of tags to use when evaluating an AND predicate.
- Parameters:
tags
- The list of tags to use when evaluating an AND predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AnalyticsAndOperator.Builder tags(Tag... tags)
The list of tags to use when evaluating an AND predicate.
- Parameters:
tags
- The list of tags to use when evaluating an AND predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AnalyticsAndOperator.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags to use when evaluating an AND predicate.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
-