Interface CreateUserResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateUserResponse.Builder,,- CreateUserResponse> - IamResponse.Builder,- SdkBuilder<CreateUserResponse.Builder,,- CreateUserResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateUserResponse
@Mutable
@NotThreadSafe
public static interface CreateUserResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<CreateUserResponse.Builder,CreateUserResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault CreateUserResponse.Builderuser(Consumer<User.Builder> user) A structure with details about the new IAM user.A structure with details about the new IAM user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
userA structure with details about the new IAM user. - Parameters:
- user- A structure with details about the new IAM user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userA structure with details about the new IAM user. This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(User).- Parameters:
- user- a consumer that will call methods on- User.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-