public static interface CreateGroupResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
Modifier and Type | Method and Description |
---|---|
default CreateGroupResponse.Builder |
group(Consumer<Group.Builder> group)
A structure containing details about the new group.
|
CreateGroupResponse.Builder |
group(Group group)
A structure containing details about the new group.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateGroupResponse.Builder group(Group group)
A structure containing details about the new group.
group
- A structure containing details about the new group.default CreateGroupResponse.Builder group(Consumer<Group.Builder> group)
A structure containing details about the new 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.Builder
group(Group)
Copyright © 2019. All rights reserved.