Interface UpdateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUserRequest.Builder,,UpdateUserRequest> SdkBuilder<UpdateUserRequest.Builder,,UpdateUserRequest> SdkPojo,SdkRequest.Builder,WickrRequest.Builder
- Enclosing class:
UpdateUserRequest
@Mutable
@NotThreadSafe
public static interface UpdateUserRequest.Builder
extends WickrRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Wickr network containing the user to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateUserRequest.BuilderuserDetails(Consumer<UpdateUserDetails.Builder> userDetails) An object containing the user details to be updated, such as name, password, security groups, and invite code settings.userDetails(UpdateUserDetails userDetails) An object containing the user details to be updated, such as name, password, security groups, and invite code settings.The unique identifier of the user to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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.services.wickr.model.WickrRequest.Builder
build
-
Method Details
-
networkId
The ID of the Wickr network containing the user to update.
- Parameters:
networkId- The ID of the Wickr network containing the user to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The unique identifier of the user to update.
- Parameters:
userId- The unique identifier of the user to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDetails
An object containing the user details to be updated, such as name, password, security groups, and invite code settings.
- Parameters:
userDetails- An object containing the user details to be updated, such as name, password, security groups, and invite code settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDetails
An object containing the user details to be updated, such as name, password, security groups, and invite code settings.
This is a convenience method that creates an instance of theUpdateUserDetails.Builderavoiding the need to create one manually viaUpdateUserDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserDetails(UpdateUserDetails).- Parameters:
userDetails- a consumer that will call methods onUpdateUserDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-