Interface TagFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TagFilter.Builder,,TagFilter> SdkBuilder<TagFilter.Builder,,TagFilter> SdkPojo
- Enclosing class:
- TagFilter
-
Method Summary
Modifier and TypeMethodDescriptionThe tag key to filter on.An optional list of tag values to filter on.values(Collection<String> values) An optional list of tag values to filter on.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
-
key
The tag key to filter on.
- Parameters:
key- The tag key to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
An optional list of tag values to filter on.
-
If you specify a filter that contains more than one value for a key, the response returns log groups that match any of the specified values for that key.
-
If you don't specify values, the response returns all log groups that are tagged with that key, with any or no value.
-
Use
*for wildcard matching. For example,prod*matches values that start withprod. -
Use
!as a prefix for negation. For example,!prodmatches values that are notprod. -
Exact matching and negation are case-sensitive. Wildcard matching is case-insensitive.
- Parameters:
values- An optional list of tag values to filter on.-
If you specify a filter that contains more than one value for a key, the response returns log groups that match any of the specified values for that key.
-
If you don't specify values, the response returns all log groups that are tagged with that key, with any or no value.
-
Use
*for wildcard matching. For example,prod*matches values that start withprod. -
Use
!as a prefix for negation. For example,!prodmatches values that are notprod. -
Exact matching and negation are case-sensitive. Wildcard matching is case-insensitive.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
values
An optional list of tag values to filter on.
-
If you specify a filter that contains more than one value for a key, the response returns log groups that match any of the specified values for that key.
-
If you don't specify values, the response returns all log groups that are tagged with that key, with any or no value.
-
Use
*for wildcard matching. For example,prod*matches values that start withprod. -
Use
!as a prefix for negation. For example,!prodmatches values that are notprod. -
Exact matching and negation are case-sensitive. Wildcard matching is case-insensitive.
- Parameters:
values- An optional list of tag values to filter on.-
If you specify a filter that contains more than one value for a key, the response returns log groups that match any of the specified values for that key.
-
If you don't specify values, the response returns all log groups that are tagged with that key, with any or no value.
-
Use
*for wildcard matching. For example,prod*matches values that start withprod. -
Use
!as a prefix for negation. For example,!prodmatches values that are notprod. -
Exact matching and negation are case-sensitive. Wildcard matching is case-insensitive.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-