public static interface DescribeMyUserProfileResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeMyUserProfileResponse.Builder,DescribeMyUserProfileResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeMyUserProfileResponse.Builder |
userProfile(Consumer<SelfUserProfile.Builder> userProfile)
A
UserProfile object that describes the user's SSH information. |
DescribeMyUserProfileResponse.Builder |
userProfile(SelfUserProfile userProfile)
A
UserProfile object that describes the user's SSH information. |
build
copy
apply, build
DescribeMyUserProfileResponse.Builder userProfile(SelfUserProfile userProfile)
A UserProfile
object that describes the user's SSH information.
userProfile
- A UserProfile
object that describes the user's SSH information.default DescribeMyUserProfileResponse.Builder userProfile(Consumer<SelfUserProfile.Builder> userProfile)
A UserProfile
object that describes the user's SSH information.
SelfUserProfile.Builder
avoiding the need to
create one manually via SelfUserProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to userProfile(SelfUserProfile)
.userProfile
- a consumer that will call methods on SelfUserProfile.Builder
userProfile(SelfUserProfile)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.