Interface BatchToggleUserSuspendStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchToggleUserSuspendStatusResponse.Builder,,BatchToggleUserSuspendStatusResponse> SdkBuilder<BatchToggleUserSuspendStatusResponse.Builder,,BatchToggleUserSuspendStatusResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
BatchToggleUserSuspendStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchUserErrorResponseItem> failed) A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.failed(Consumer<BatchUserErrorResponseItem.Builder>... failed) A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.failed(BatchUserErrorResponseItem... failed) A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.A message indicating the overall result of the batch suspend status toggle operation.successful(Collection<BatchUserSuccessResponseItem> successful) A list of user IDs whose suspend status was successfully toggled.successful(Consumer<BatchUserSuccessResponseItem.Builder>... successful) A list of user IDs whose suspend status was successfully toggled.successful(BatchUserSuccessResponseItem... successful) A list of user IDs whose suspend status was successfully toggled.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
message
A message indicating the overall result of the batch suspend status toggle operation.
- Parameters:
message- A message indicating the overall result of the batch suspend status toggle operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchToggleUserSuspendStatusResponse.Builder successful(Collection<BatchUserSuccessResponseItem> successful) A list of user IDs whose suspend status was successfully toggled.
- Parameters:
successful- A list of user IDs whose suspend status was successfully toggled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of user IDs whose suspend status was successfully toggled.
- Parameters:
successful- A list of user IDs whose suspend status was successfully toggled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchToggleUserSuspendStatusResponse.Builder successful(Consumer<BatchUserSuccessResponseItem.Builder>... successful) A list of user IDs whose suspend status was successfully toggled.
This is a convenience method that creates an instance of theBatchUserSuccessResponseItem.Builderavoiding the need to create one manually viaBatchUserSuccessResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchUserSuccessResponseItem>).- Parameters:
successful- a consumer that will call methods onBatchUserSuccessResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.
- Parameters:
failed- A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.
- Parameters:
failed- A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchToggleUserSuspendStatusResponse.Builder failed(Consumer<BatchUserErrorResponseItem.Builder>... failed) A list of suspend status toggle attempts that failed, including error details explaining why each user's status could not be changed.
This is a convenience method that creates an instance of theBatchUserErrorResponseItem.Builderavoiding the need to create one manually viaBatchUserErrorResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchUserErrorResponseItem>).- Parameters:
failed- a consumer that will call methods onBatchUserErrorResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-