Interface BatchCreateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchCreateUserRequest.Builder,,BatchCreateUserRequest> SdkBuilder<BatchCreateUserRequest.Builder,,BatchCreateUserRequest> SdkPojo,SdkRequest.Builder,WickrRequest.Builder
- Enclosing class:
BatchCreateUserRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier for this request to ensure idempotency.The ID of the Wickr network where users will be created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes.users(Consumer<BatchCreateUserRequestItem.Builder>... users) A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes.users(BatchCreateUserRequestItem... users) A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes.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 where users will be created.
- Parameters:
networkId- The ID of the Wickr network where users will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.
- Parameters:
users- A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.
- Parameters:
users- A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.
This is a convenience method that creates an instance of theBatchCreateUserRequestItem.Builderavoiding the need to create one manually viaBatchCreateUserRequestItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousers(List<BatchCreateUserRequestItem>).- Parameters:
users- a consumer that will call methods onBatchCreateUserRequestItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier for this request to ensure idempotency. If you retry a request with the same client token, the service will return the same response without creating duplicate users.
- Parameters:
clientToken- A unique identifier for this request to ensure idempotency. If you retry a request with the same client token, the service will return the same response without creating duplicate users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchCreateUserRequest.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
BatchCreateUserRequest.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.
-