Interface MetricsAndOperator.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricsAndOperator.Builder,,MetricsAndOperator> SdkBuilder<MetricsAndOperator.Builder,,MetricsAndOperator> SdkPojo
- Enclosing class:
MetricsAndOperator
@Mutable
@NotThreadSafe
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 anANDpredicate.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
Tagfilters are not supported for directory buckets.- Parameters:
tags- The list of tags used when evaluating an AND predicate.Tagfilters are not supported for directory buckets.- 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.
Tagfilters are not supported for directory buckets.- Parameters:
tags- The list of tags used when evaluating an AND predicate.Tagfilters are not supported for directory buckets.- 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 theTagfilters are not supported for directory buckets.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
ANDpredicate.- Parameters:
accessPointArn- The access point ARN used when evaluating anANDpredicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-