Interface GetLoginProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLoginProfileResponse.Builder,
,GetLoginProfileResponse> IamResponse.Builder
,SdkBuilder<GetLoginProfileResponse.Builder,
,GetLoginProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLoginProfileResponse
public static interface GetLoginProfileResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetLoginProfileResponse.Builder,GetLoginProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetLoginProfileResponse.Builder
loginProfile
(Consumer<LoginProfile.Builder> loginProfile) A structure containing the user name and the profile creation date for the user.loginProfile
(LoginProfile loginProfile) A structure containing the user name and the profile creation date for the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.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 Details
-
loginProfile
A structure containing the user name and the profile creation date for the user.
- Parameters:
loginProfile
- A structure containing the user name and the profile creation date for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loginProfile
A structure containing the user name and the profile creation date for the user.
This is a convenience method that creates an instance of theLoginProfile.Builder
avoiding the need to create one manually viaLoginProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologinProfile(LoginProfile)
.- Parameters:
loginProfile
- a consumer that will call methods onLoginProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-