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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GroupQuery.BuildergroupName(String groupName)The 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.GroupQuery.BuilderresourceQuery(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 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:
resourceQuery(ResourceQuery)
-
-