public static final class EventRuleProps.Jsii$Pojo extends Object implements EventRuleProps
EventRuleProps.EventRuleProps.Builder, EventRuleProps.Jsii$Pojo, EventRuleProps.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
protected String |
_description |
protected Boolean |
_enabled |
protected EventPattern |
_eventPattern |
protected String |
_ruleName |
protected String |
_scheduleExpression |
protected List<IEventRuleTarget> |
_targets |
| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Pojo()
Constructor used by builders.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A description of the rule's purpose.
|
Boolean |
getEnabled()
Indicates whether the rule is enabled.
|
EventPattern |
getEventPattern()
Describes which events CloudWatch Events routes to the specified target.
|
String |
getRuleName()
A name for the rule.
|
String |
getScheduleExpression()
The schedule or rate (frequency) that determines when CloudWatch Events
runs the rule.
|
List<IEventRuleTarget> |
getTargets()
Targets to invoke when this rule matches an event.
|
void |
setDescription(String value)
A description of the rule's purpose.
|
void |
setEnabled(Boolean value)
Indicates whether the rule is enabled.
|
void |
setEventPattern(EventPattern value)
Describes which events CloudWatch Events routes to the specified target.
|
void |
setRuleName(String value)
A name for the rule.
|
void |
setScheduleExpression(String value)
The schedule or rate (frequency) that determines when CloudWatch Events
runs the rule.
|
void |
setTargets(List<IEventRuleTarget> value)
Targets to invoke when this rule matches an event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected String _description
protected String _ruleName
protected Boolean _enabled
protected String _scheduleExpression
protected EventPattern _eventPattern
protected List<IEventRuleTarget> _targets
public String getDescription()
EventRulePropsgetDescription in interface EventRulePropspublic void setDescription(String value)
EventRulePropssetDescription in interface EventRulePropspublic String getRuleName()
EventRulePropsgetRuleName in interface EventRulePropspublic void setRuleName(String value)
EventRulePropssetRuleName in interface EventRulePropspublic Boolean getEnabled()
EventRulePropsgetEnabled in interface EventRulePropspublic void setEnabled(Boolean value)
EventRulePropssetEnabled in interface EventRulePropspublic String getScheduleExpression()
EventRulePropsgetScheduleExpression in interface EventRulePropsYou must specify this property, the `eventPattern` property, or both.public void setScheduleExpression(String value)
EventRulePropssetScheduleExpression in interface EventRulePropsYou must specify this property, the `eventPattern` property, or both.public EventPattern getEventPattern()
EventRulePropsgetEventPattern in interface EventRulePropsYou must specify this property (either via props or via `addEventPattern`), the `scheduleExpression` property, or both. The method `addEventPattern` can be used to add filter values to the event pattern.public void setEventPattern(EventPattern value)
EventRulePropssetEventPattern in interface EventRulePropsYou must specify this property (either via props or via `addEventPattern`), the `scheduleExpression` property, or both. The method `addEventPattern` can be used to add filter values to the event pattern.public List<IEventRuleTarget> getTargets()
EventRulePropsgetTargets in interface EventRulePropspublic void setTargets(List<IEventRuleTarget> value)
EventRulePropssetTargets in interface EventRulePropsCopyright © 2018. All rights reserved.