Interface DescribeMyUserProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMyUserProfileResponse.Builder,,DescribeMyUserProfileResponse> OpsWorksResponse.Builder,SdkBuilder<DescribeMyUserProfileResponse.Builder,,DescribeMyUserProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeMyUserProfileResponse
public static interface DescribeMyUserProfileResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeMyUserProfileResponse.Builder,DescribeMyUserProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionuserProfile(Consumer<SelfUserProfile.Builder> userProfile) AUserProfileobject that describes the user's SSH information.userProfile(SelfUserProfile userProfile) AUserProfileobject that describes the user's SSH information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userProfile
A
UserProfileobject that describes the user's SSH information.- Parameters:
userProfile- AUserProfileobject that describes the user's SSH information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfile
default DescribeMyUserProfileResponse.Builder userProfile(Consumer<SelfUserProfile.Builder> userProfile) A
This is a convenience method that creates an instance of theUserProfileobject that describes the user's SSH information.SelfUserProfile.Builderavoiding the need to create one manually viaSelfUserProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserProfile(SelfUserProfile).- Parameters:
userProfile- a consumer that will call methods onSelfUserProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-