public static interface GetRoleResponse.Builder extends IAMResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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.