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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeMyUserProfileResponse.BuilderuserProfile(Consumer<SelfUserProfile.Builder> userProfile)AUserProfileobject that describes the user's SSH information.DescribeMyUserProfileResponse.BuilderuserProfile(SelfUserProfile userProfile)AUserProfileobject that describes the user's SSH information.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userProfile
DescribeMyUserProfileResponse.Builder userProfile(SelfUserProfile 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:
userProfile(SelfUserProfile)
-
-