Class BetaMessageBatchCancelParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class BetaMessageBatchCancelParams implements Params
Batches may be canceled any time before processing ends. Once cancellation is initiated, the batch enters a
cancelingstate, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation.The number of canceled requests is specified in
request_counts. To determine which requests were canceled, check the individual results within the batch. Note that cancellation may not result in any canceled requests if they were non-interruptible.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMessageBatchCancelParams.BuilderA builder for BetaMessageBatchCancelParams.
-
Method Summary
Modifier and Type Method Description final StringmessageBatchId()ID of the Message Batch. final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final Map<String, JsonValue>_additionalBodyProperties()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final StringgetPathParam(Integer index)final BetaMessageBatchCancelParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMessageBatchCancelParams.Builderbuilder()-
-
Method Detail
-
messageBatchId
final String messageBatchId()
ID of the Message Batch.
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final BetaMessageBatchCancelParams.Builder toBuilder()
-
builder
final static BetaMessageBatchCancelParams.Builder builder()
-
-
-
-