public static interface CreateGroupResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateGroupResponse.Builder |
group(Consumer<Group.Builder> group)
The description of the resource group.
|
CreateGroupResponse.Builder |
group(Group group)
The description of the resource group.
|
default CreateGroupResponse.Builder |
groupConfiguration(Consumer<GroupConfiguration.Builder> groupConfiguration)
The service configuration associated with the resource group.
|
CreateGroupResponse.Builder |
groupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group.
|
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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateGroupResponse.Builder group(Group group)
The description of the resource group.
group - The description of the resource group.default CreateGroupResponse.Builder group(Consumer<Group.Builder> group)
The description of the resource group.
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.Buildergroup(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.BuilderresourceQuery(ResourceQuery)CreateGroupResponse.Builder tags(Map<String,String> tags)
The tags associated with the group.
tags - The tags associated with the group.CreateGroupResponse.Builder groupConfiguration(GroupConfiguration groupConfiguration)
The service configuration associated with the resource group. AWS Resource Groups supports adding service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool - Amazon EC2 capacity reservation pools. For more information,
see Working with capacity reservation groups in the EC2 Users Guide.
groupConfiguration - The service configuration associated with the resource group. AWS Resource Groups supports adding
service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool - Amazon EC2 capacity reservation pools. For more
information, see Working with capacity reservation groups in the EC2 Users Guide.
default CreateGroupResponse.Builder groupConfiguration(Consumer<GroupConfiguration.Builder> groupConfiguration)
The service configuration associated with the resource group. AWS Resource Groups supports adding service configurations for the following resource group types:
AWS::EC2::CapacityReservationPool - Amazon EC2 capacity reservation pools. For more information,
see Working with capacity reservation groups in the EC2 Users Guide.
GroupConfiguration.Builder avoiding the need to
create one manually via GroupConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to groupConfiguration(GroupConfiguration).groupConfiguration - a consumer that will call methods on GroupConfiguration.BuildergroupConfiguration(GroupConfiguration)Copyright © 2020. All rights reserved.