Interface GroupQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupQuery.Builder,,GroupQuery> SdkBuilder<GroupQuery.Builder,,GroupQuery> SdkPojo
- Enclosing class:
GroupQuery
public static interface GroupQuery.Builder
extends SdkPojo, CopyableBuilder<GroupQuery.Builder,GroupQuery>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the resource group that is associated with the specified resource query.default GroupQuery.BuilderresourceQuery(Consumer<ResourceQuery.Builder> resourceQuery) The resource query that determines which Amazon Web Services resources are members of the associated resource group.resourceQuery(ResourceQuery resourceQuery) The resource query that determines which Amazon Web Services resources are members of the associated resource group.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, sdkFields
-
Method Details
-
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
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
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 theResourceQuery.Builderavoiding the need to create one manually viaResourceQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceQuery(ResourceQuery).- Parameters:
resourceQuery- a consumer that will call methods onResourceQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-