Interface CreateLoginProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLoginProfileResponse.Builder,,CreateLoginProfileResponse> IamResponse.Builder,SdkBuilder<CreateLoginProfileResponse.Builder,,CreateLoginProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLoginProfileResponse
public static interface CreateLoginProfileResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<CreateLoginProfileResponse.Builder,CreateLoginProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloginProfile(Consumer<LoginProfile.Builder> loginProfile) A structure containing the user name and password create date.loginProfile(LoginProfile loginProfile) A structure containing the user name and password create date.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
loginProfile
A structure containing the user name and password create date.
- Parameters:
loginProfile- A structure containing the user name and password create date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loginProfile
default CreateLoginProfileResponse.Builder loginProfile(Consumer<LoginProfile.Builder> loginProfile) A structure containing the user name and password create date.
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:
-