CosmosTriggerProperties Class

Definition

The type Cosmos trigger properties.

public final class CosmosTriggerProperties
Inheritance
java.lang.Object
CosmosTriggerProperties

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

CosmosTriggerProperties(String id, String body)

Constructor.

Methods

getBody()

Get the body of the trigger.

getETag()

Get the entity tag associated with the resource. This is only relevant when getting response from the server.

getId()

Gets the name of the resource.

getTimestamp()

Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.

getTriggerOperation()

Get the operation type of the trigger.

getTriggerType()

Get the type of the trigger.

setBody(String body)

Set the body of the trigger.

setId(String id)

Sets the id

setTriggerOperation(TriggerOperation triggerOperation)

Set the operation type of the trigger.

setTriggerType(TriggerType triggerType)

Set the type of the resource.

Applies to