public final class CosmosTriggerProperties extends Object
| Constructor and Description |
|---|
CosmosTriggerProperties(String id,
String body)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Get the body of the trigger.
|
String |
getETag()
Get the entity tag associated with the resource.
|
String |
getId()
Gets the name of the resource.
|
Instant |
getTimestamp()
Get the last modified timestamp associated with the resource.
|
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.
|
public CosmosTriggerProperties setId(String id)
id - the name of the resource.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.public String getId()
public Instant getTimestamp()
public String getETag()
Copyright © 2020 Microsoft Corporation. All rights reserved.