public static interface GroupQuery.Builder extends CopyableBuilder<GroupQuery.Builder,GroupQuery>
Modifier and Type | Method and Description |
---|---|
GroupQuery.Builder |
groupName(String groupName)
The name of a resource group that is associated with a specific resource query.
|
default GroupQuery.Builder |
resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query which determines which AWS resources are members of the associated resource group.
|
GroupQuery.Builder |
resourceQuery(ResourceQuery resourceQuery)
The resource query which determines which AWS resources are members of the associated resource group.
|
copy
apply, build
GroupQuery.Builder groupName(String groupName)
The name of a resource group that is associated with a specific resource query.
groupName
- The name of a resource group that is associated with a specific resource query.GroupQuery.Builder resourceQuery(ResourceQuery resourceQuery)
The resource query which determines which AWS resources are members of the associated resource group.
resourceQuery
- The resource query which determines which AWS resources are members of the associated resource group.default GroupQuery.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query which determines which AWS resources are members of the associated resource group.
This is a convenience that creates an instance of theResourceQuery.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)
.resourceQuery
- a consumer that will call methods on ResourceQuery.Builder
resourceQuery(ResourceQuery)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.