public static interface GetUserResponse.Builder extends IAMResponse.Builder, CopyableBuilder<GetUserResponse.Builder,GetUserResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetUserResponse.Builder |
user(Consumer<User.Builder> user)
A structure containing details about the IAM user.
|
GetUserResponse.Builder |
user(User user)
A structure containing details about the IAM user.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetUserResponse.Builder user(User user)
A structure containing details about the IAM user.
user - A structure containing details about the IAM user.default GetUserResponse.Builder user(Consumer<User.Builder> user)
A structure containing details about the IAM user.
This is a convenience that creates an instance of theUser.Builder avoiding the need to create one
manually via User.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to user(User).user - a consumer that will call methods on User.Builderuser(User)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.