Interface BatchUpdateCaseResponse.Builder

  • Method Details

    • successfulCases

      The list of cases that were successfully updated.

      Parameters:
      successfulCases - The list of cases that were successfully updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successfulCases

      BatchUpdateCaseResponse.Builder successfulCases(BatchUpdateCaseSuccessEntry... successfulCases)

      The list of cases that were successfully updated.

      Parameters:
      successfulCases - The list of cases that were successfully updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successfulCases

      The list of cases that were successfully updated.

      This is a convenience method that creates an instance of the BatchUpdateCaseSuccessEntry.Builder avoiding the need to create one manually via BatchUpdateCaseSuccessEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to successfulCases(List<BatchUpdateCaseSuccessEntry>).

      Parameters:
      successfulCases - a consumer that will call methods on BatchUpdateCaseSuccessEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failedCases

      The list of cases that were not updated. Each entry includes an error code and message. Possible error codes include:

      • CASE_NOT_FOUND - No case exists with the specified case ID.

      • VALIDATION_ERROR - The request contains invalid input.

      • CONFLICT - Another operation is in progress on the case, such as a concurrent update or a merge of the case into another case.

      • THROTTLED - The request rate exceeded the allowed limit.

      • ACCESS_DENIED - The caller lacks permission to perform the operation.

      • SERVICE_QUOTA_EXCEEDED - The request exceeded a service quota.

      • DOMAIN_NOT_FOUND - The case domain was deleted while the request was being processed.

      • INTERNAL_ERROR - An unexpected error occurred on the server.

      Parameters:
      failedCases - The list of cases that were not updated. Each entry includes an error code and message. Possible error codes include:

      • CASE_NOT_FOUND - No case exists with the specified case ID.

      • VALIDATION_ERROR - The request contains invalid input.

      • CONFLICT - Another operation is in progress on the case, such as a concurrent update or a merge of the case into another case.

      • THROTTLED - The request rate exceeded the allowed limit.

      • ACCESS_DENIED - The caller lacks permission to perform the operation.

      • SERVICE_QUOTA_EXCEEDED - The request exceeded a service quota.

      • DOMAIN_NOT_FOUND - The case domain was deleted while the request was being processed.

      • INTERNAL_ERROR - An unexpected error occurred on the server.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedCases

      The list of cases that were not updated. Each entry includes an error code and message. Possible error codes include:

      • CASE_NOT_FOUND - No case exists with the specified case ID.

      • VALIDATION_ERROR - The request contains invalid input.

      • CONFLICT - Another operation is in progress on the case, such as a concurrent update or a merge of the case into another case.

      • THROTTLED - The request rate exceeded the allowed limit.

      • ACCESS_DENIED - The caller lacks permission to perform the operation.

      • SERVICE_QUOTA_EXCEEDED - The request exceeded a service quota.

      • DOMAIN_NOT_FOUND - The case domain was deleted while the request was being processed.

      • INTERNAL_ERROR - An unexpected error occurred on the server.

      Parameters:
      failedCases - The list of cases that were not updated. Each entry includes an error code and message. Possible error codes include:

      • CASE_NOT_FOUND - No case exists with the specified case ID.

      • VALIDATION_ERROR - The request contains invalid input.

      • CONFLICT - Another operation is in progress on the case, such as a concurrent update or a merge of the case into another case.

      • THROTTLED - The request rate exceeded the allowed limit.

      • ACCESS_DENIED - The caller lacks permission to perform the operation.

      • SERVICE_QUOTA_EXCEEDED - The request exceeded a service quota.

      • DOMAIN_NOT_FOUND - The case domain was deleted while the request was being processed.

      • INTERNAL_ERROR - An unexpected error occurred on the server.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedCases

      The list of cases that were not updated. Each entry includes an error code and message. Possible error codes include:

      • CASE_NOT_FOUND - No case exists with the specified case ID.

      • VALIDATION_ERROR - The request contains invalid input.

      • CONFLICT - Another operation is in progress on the case, such as a concurrent update or a merge of the case into another case.

      • THROTTLED - The request rate exceeded the allowed limit.

      • ACCESS_DENIED - The caller lacks permission to perform the operation.

      • SERVICE_QUOTA_EXCEEDED - The request exceeded a service quota.

      • DOMAIN_NOT_FOUND - The case domain was deleted while the request was being processed.

      • INTERNAL_ERROR - An unexpected error occurred on the server.

      This is a convenience method that creates an instance of the BatchUpdateCaseErrorEntry.Builder avoiding the need to create one manually via BatchUpdateCaseErrorEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failedCases(List<BatchUpdateCaseErrorEntry>).

      Parameters:
      failedCases - a consumer that will call methods on BatchUpdateCaseErrorEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: