public class CosmosTrigger extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosResponse> |
delete()
Deletes a cosmos trigger.
|
String |
id()
Get the id of the
CosmosTrigger |
reactor.core.publisher.Mono<CosmosTriggerResponse> |
read()
Reads a cosmos trigger by the trigger link.
|
reactor.core.publisher.Mono<CosmosTriggerResponse> |
replace(CosmosTriggerProperties triggerSettings)
Replaces a cosmos trigger.
|
public String id()
CosmosTrigger
CosmosTrigger
public reactor.core.publisher.Mono<CosmosTriggerResponse> read()
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response for the read trigger.
In case of failure the Mono
will error.
Mono
containing the single resource response for the read cosmos trigger or an error.public reactor.core.publisher.Mono<CosmosTriggerResponse> replace(CosmosTriggerProperties triggerSettings)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the replaced trigger.
In case of failure the Mono
will error.
triggerSettings
- the cosmos trigger properties.Mono
containing the single resource response with the replaced cosmos trigger or an error.public reactor.core.publisher.Mono<CosmosResponse> delete()
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response for the deleted trigger.
In case of failure the Mono
will error.
Mono
containing the single resource response for the deleted cosmos trigger or an error.Copyright © 2019. All rights reserved.