Interface GroupQuery.Builder

  • Method Details

    • groupName

      GroupQuery.Builder groupName(String groupName)

      The name of the resource group that is associated with the specified resource query.

      Parameters:
      groupName - The name of the resource group that is associated with the specified resource query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceQuery

      GroupQuery.Builder resourceQuery(ResourceQuery resourceQuery)

      The resource query that determines which Amazon Web Services resources are members of the associated resource group.

      Parameters:
      resourceQuery - The resource query that determines which Amazon Web Services resources are members of the associated resource group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceQuery

      default GroupQuery.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)

      The resource query that determines which Amazon Web Services resources are members of the associated resource group.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceQuery(ResourceQuery).

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