public class CosmosTriggerProperties extends Resource
Constructor and Description |
---|
CosmosTriggerProperties()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Get the body of the trigger.
|
TriggerOperation |
getTriggerOperation()
Get the operation type of the trigger.
|
TriggerType |
getTriggerType()
Get the type of the trigger.
|
CosmosTriggerProperties |
setBody(String body)
Set the body of the trigger.
|
CosmosTriggerProperties |
setId(String id)
Sets the id
|
CosmosTriggerProperties |
setTriggerOperation(TriggerOperation triggerOperation)
Set the operation type of the trigger.
|
CosmosTriggerProperties |
setTriggerType(TriggerType triggerType)
Set the type of the resource.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setResourceId
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
public CosmosTriggerProperties setId(String id)
public String getBody()
public CosmosTriggerProperties setBody(String body)
body
- the body of the trigger.public TriggerType getTriggerType()
public CosmosTriggerProperties setTriggerType(TriggerType triggerType)
triggerType
- the trigger type.public TriggerOperation getTriggerOperation()
public CosmosTriggerProperties setTriggerOperation(TriggerOperation triggerOperation)
triggerOperation
- the trigger operation.Copyright © 2020 Microsoft Corporation. All rights reserved.