public static interface CreateRoleResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<CreateRoleResponse.Builder,CreateRoleResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateRoleResponse.Builder |
role(Consumer<Role.Builder> role)
A structure containing details about the new role.
|
CreateRoleResponse.Builder |
role(Role role)
A structure containing details about the new role.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRoleResponse.Builder role(Role role)
A structure containing details about the new role.
role - A structure containing details about the new role.default CreateRoleResponse.Builder role(Consumer<Role.Builder> role)
A structure containing details about the new role.
This is a convenience method that creates an instance of theRole.Builder avoiding the need to create
one manually via Role.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to role(Role).
role - a consumer that will call methods on Role.Builderrole(Role)Copyright © 2023. All rights reserved.