Interface TagFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TagFilter.Builder,TagFilter>, SdkBuilder<TagFilter.Builder,TagFilter>, SdkPojo
Enclosing class:
TagFilter

@Mutable @NotThreadSafe public static interface TagFilter.Builder extends SdkPojo, CopyableBuilder<TagFilter.Builder,TagFilter>
  • 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 with prod.

      • Use ! as a prefix for negation. For example, !prod matches values that are not prod.

      • 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 with prod.

      • Use ! as a prefix for negation. For example, !prod matches values that are not prod.

      • 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

      TagFilter.Builder values(String... 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 with prod.

      • Use ! as a prefix for negation. For example, !prod matches values that are not prod.

      • 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 with prod.

      • Use ! as a prefix for negation. For example, !prod matches values that are not prod.

      • 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.