public static interface CreateGroupResponse.Builder extends ResourceGroupsResponse.Builder, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
Modifier and Type | Method and Description |
---|---|
default CreateGroupResponse.Builder |
group(Consumer<Group.Builder> group)
A full description of the resource group after it is created.
|
CreateGroupResponse.Builder |
group(Group group)
A full description of the resource group after it is created.
|
default CreateGroupResponse.Builder |
resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query associated with the group.
|
CreateGroupResponse.Builder |
resourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group.
|
CreateGroupResponse.Builder |
tags(Map<String,String> tags)
The tags associated with the group.
|
build
copy
apply, build
CreateGroupResponse.Builder group(Group group)
A full description of the resource group after it is created.
group
- A full description of the resource group after it is created.default CreateGroupResponse.Builder group(Consumer<Group.Builder> group)
A full description of the resource group after it is created.
This is a convenience that creates an instance of theGroup.Builder
avoiding the need to create one
manually via Group.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to group(Group)
.group
- a consumer that will call methods on Group.Builder
group(Group)
CreateGroupResponse.Builder resourceQuery(ResourceQuery resourceQuery)
The resource query associated with the group.
resourceQuery
- The resource query associated with the group.default CreateGroupResponse.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query associated with the 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)
CreateGroupResponse.Builder tags(Map<String,String> tags)
The tags associated with the group.
tags
- The tags associated with the group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.