public static interface CreateRoleResponse.Builder extends IAMResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.