Interface BatchResetDevicesForUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchResetDevicesForUserResponse.Builder,,BatchResetDevicesForUserResponse> SdkBuilder<BatchResetDevicesForUserResponse.Builder,,BatchResetDevicesForUserResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
BatchResetDevicesForUserResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchDeviceErrorResponseItem> failed) A list of device reset attempts that failed, including error details explaining why each device could not be reset.failed(Consumer<BatchDeviceErrorResponseItem.Builder>... failed) A list of device reset attempts that failed, including error details explaining why each device could not be reset.failed(BatchDeviceErrorResponseItem... failed) A list of device reset attempts that failed, including error details explaining why each device could not be reset.A message indicating the overall result of the batch device reset operation.successful(Collection<BatchDeviceSuccessResponseItem> successful) A list of application IDs that were successfully reset.successful(Consumer<BatchDeviceSuccessResponseItem.Builder>... successful) A list of application IDs that were successfully reset.successful(BatchDeviceSuccessResponseItem... successful) A list of application IDs that were successfully reset.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 device reset operation.
- Parameters:
message- A message indicating the overall result of the batch device reset operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchResetDevicesForUserResponse.Builder successful(Collection<BatchDeviceSuccessResponseItem> successful) A list of application IDs that were successfully reset.
- Parameters:
successful- A list of application IDs that were successfully reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of application IDs that were successfully reset.
- Parameters:
successful- A list of application IDs that were successfully reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchResetDevicesForUserResponse.Builder successful(Consumer<BatchDeviceSuccessResponseItem.Builder>... successful) A list of application IDs that were successfully reset.
This is a convenience method that creates an instance of theBatchDeviceSuccessResponseItem.Builderavoiding the need to create one manually viaBatchDeviceSuccessResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchDeviceSuccessResponseItem>).- Parameters:
successful- a consumer that will call methods onBatchDeviceSuccessResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of device reset attempts that failed, including error details explaining why each device could not be reset.
- Parameters:
failed- A list of device reset attempts that failed, including error details explaining why each device could not be reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of device reset attempts that failed, including error details explaining why each device could not be reset.
- Parameters:
failed- A list of device reset attempts that failed, including error details explaining why each device could not be reset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchResetDevicesForUserResponse.Builder failed(Consumer<BatchDeviceErrorResponseItem.Builder>... failed) A list of device reset attempts that failed, including error details explaining why each device could not be reset.
This is a convenience method that creates an instance of theBatchDeviceErrorResponseItem.Builderavoiding the need to create one manually viaBatchDeviceErrorResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchDeviceErrorResponseItem>).- Parameters:
failed- a consumer that will call methods onBatchDeviceErrorResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-