public static interface GetRoleResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetRoleResponse.Builder,GetRoleResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetRoleResponse.Builder |
role(Consumer<Role.Builder> role)
A structure containing details about the IAM role.
|
GetRoleResponse.Builder |
role(Role role)
A structure containing details about the IAM role.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRoleResponse.Builder role(Role role)
A structure containing details about the IAM role.
role - A structure containing details about the IAM role.default GetRoleResponse.Builder role(Consumer<Role.Builder> role)
A structure containing details about the IAM 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.