Interface SearchResourcesCriteriaBlock.Builder

  • Method Details

    • and

      An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.

      Parameters:
      and - An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • and

      An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.

      Parameters:
      and - An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • and

      An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.

      This is a convenience method that creates an instance of the SearchResourcesCriteria.Builder avoiding the need to create one manually via SearchResourcesCriteria.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to and(List<SearchResourcesCriteria>).

      Parameters:
      and - a consumer that will call methods on SearchResourcesCriteria.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: