Interface MetricsAndOperator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricsAndOperator.Builder,
,MetricsAndOperator> SdkBuilder<MetricsAndOperator.Builder,
,MetricsAndOperator> SdkPojo
- Enclosing class:
MetricsAndOperator
public static interface MetricsAndOperator.Builder
extends SdkPojo, CopyableBuilder<MetricsAndOperator.Builder,MetricsAndOperator>
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) The access point ARN used when evaluating anAND
predicate.The prefix used when evaluating an AND predicate.tags
(Collection<Tag> tags) The list of tags used when evaluating an AND predicate.tags
(Consumer<Tag.Builder>... tags) The list of tags used when evaluating an AND predicate.The list of tags used 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 Details
-
prefix
The prefix used when evaluating an AND predicate.
- Parameters:
prefix
- The prefix used when evaluating an AND predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags used when evaluating an AND predicate.
- Parameters:
tags
- The list of tags used when evaluating an AND predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags used when evaluating an AND predicate.
- Parameters:
tags
- The list of tags used when evaluating an AND predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags used 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 totags(List<Tag>)
.- 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:
-
accessPointArn
The access point ARN used when evaluating an
AND
predicate.- Parameters:
accessPointArn
- The access point ARN used when evaluating anAND
predicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-