Interface GetLoginProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLoginProfileResponse.Builder,,GetLoginProfileResponse> IamResponse.Builder,SdkBuilder<GetLoginProfileResponse.Builder,,GetLoginProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLoginProfileResponse
@Mutable
@NotThreadSafe
public static interface GetLoginProfileResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetLoginProfileResponse.Builder,GetLoginProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetLoginProfileResponse.BuilderloginProfile(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
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaLoginProfile.builder().When the
Consumercompletes,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:
-