Package com.azure.cosmos
Class CosmosAsyncConflict
- java.lang.Object
-
- com.azure.cosmos.CosmosAsyncConflict
-
public final class CosmosAsyncConflict extends Object
Read and delete conflicts
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<CosmosConflictResponse>
delete(CosmosConflictRequestOptions options)
Deletes a conflict.String
getId()
Get the id of theCosmosAsyncConflict
Mono<CosmosConflictResponse>
read(CosmosConflictRequestOptions options)
Reads a conflict.
-
-
-
Method Detail
-
getId
public String getId()
Get the id of theCosmosAsyncConflict
- Returns:
- the id of the
CosmosAsyncConflict
-
read
public Mono<CosmosConflictResponse> read(CosmosConflictRequestOptions options)
Reads a conflict.After subscription the operation will be performed. The
Mono
upon successful completion will contain a single resource response with the read conflict. In case of failure theMono
will error.- Parameters:
options
- the request options.- Returns:
- a
Mono
containing the single resource response with the read conflict or an error.
-
delete
public Mono<CosmosConflictResponse> delete(CosmosConflictRequestOptions options)
Deletes a conflict.After subscription the operation will be performed. The
Mono
upon successful completion will contain a single resource response for the deleted conflict. In case of failure theMono
will error.- Parameters:
options
- the request options.- Returns:
- a
Mono
containing the single resource response for the deleted conflict or an error.
-
-