Interface BatchUpdateCaseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<BatchUpdateCaseResponse.Builder,,BatchUpdateCaseResponse> SdkBuilder<BatchUpdateCaseResponse.Builder,,BatchUpdateCaseResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchUpdateCaseResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailedCases(Collection<BatchUpdateCaseErrorEntry> failedCases) The list of cases that were not updated.failedCases(Consumer<BatchUpdateCaseErrorEntry.Builder>... failedCases) The list of cases that were not updated.failedCases(BatchUpdateCaseErrorEntry... failedCases) The list of cases that were not updated.successfulCases(Collection<BatchUpdateCaseSuccessEntry> successfulCases) The list of cases that were successfully updated.successfulCases(Consumer<BatchUpdateCaseSuccessEntry.Builder>... successfulCases) The list of cases that were successfully updated.successfulCases(BatchUpdateCaseSuccessEntry... successfulCases) The list of cases that were successfully updated.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
successfulCases
BatchUpdateCaseResponse.Builder successfulCases(Collection<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.
- 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(Consumer<BatchUpdateCaseSuccessEntry.Builder>... successfulCases) The list of cases that were successfully updated.
This is a convenience method that creates an instance of theBatchUpdateCaseSuccessEntry.Builderavoiding the need to create one manually viaBatchUpdateCaseSuccessEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulCases(List<BatchUpdateCaseSuccessEntry>).- Parameters:
successfulCases- a consumer that will call methods onBatchUpdateCaseSuccessEntry.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
BatchUpdateCaseResponse.Builder failedCases(Consumer<BatchUpdateCaseErrorEntry.Builder>... 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.
BatchUpdateCaseErrorEntry.Builderavoiding the need to create one manually viaBatchUpdateCaseErrorEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedCases(List<BatchUpdateCaseErrorEntry>).- Parameters:
failedCases- a consumer that will call methods onBatchUpdateCaseErrorEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-