CosmosTrigger Class

  • java.lang.Object
    • com.azure.cosmos.CosmosTrigger

public class CosmosTrigger

The type Cosmos sync trigger.

Method Summary

Modifier and Type Method and Description
CosmosTriggerResponse delete()

Delete cosmos trigger.

String getId()

Gets getId.

CosmosTriggerResponse read()

Read cosmos trigger.

CosmosTriggerResponse replace(CosmosTriggerProperties triggerProperties)

Replace cosmos trigger.

Methods inherited from java.lang.Object

Method Details

delete

public CosmosTriggerResponse delete()

Delete cosmos trigger.

Returns:

the cosmos response

getId

public String getId()

Gets getId.

Returns:

the string

read

public CosmosTriggerResponse read()

Read cosmos trigger.

Returns:

the cosmos trigger response

replace

public CosmosTriggerResponse replace(CosmosTriggerProperties triggerProperties)

Replace cosmos trigger.

Parameters:

triggerProperties - the trigger properties.

Returns:

the cosmos trigger response

Applies to