public class CosmosTriggerProperties extends Resource
| Constructor and Description |
|---|
CosmosTriggerProperties()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
body()
Get the body of the trigger.
|
CosmosTriggerProperties |
body(String body)
Set the body of the trigger.
|
CosmosTriggerProperties |
id(String id)
Sets the id
|
TriggerOperation |
triggerOperation()
Get the operation type of the trigger.
|
CosmosTriggerProperties |
triggerOperation(TriggerOperation triggerOperation)
Set the operation type of the trigger.
|
TriggerType |
triggerType()
Get the type of the trigger.
|
CosmosTriggerProperties |
triggerType(TriggerType triggerType)
Set the type of the resource.
|
etag, id, resourceId, resourceId, selfLink, timestampget, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toStringpublic CosmosTriggerProperties id(String id)
public String body()
public CosmosTriggerProperties body(String body)
body - the body of the trigger.public TriggerType triggerType()
public CosmosTriggerProperties triggerType(TriggerType triggerType)
triggerType - the trigger type.public TriggerOperation triggerOperation()
public CosmosTriggerProperties triggerOperation(TriggerOperation triggerOperation)
triggerOperation - the trigger operation.Copyright © 2019. All rights reserved.