public static final class EventRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EventRuleProps
software.amazon.jsii.JsiiObject.InitializationModeEventRuleProps.Builder, EventRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| 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.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Nullable public String getDescription()
getDescription in interface EventRulePropspublic void setDescription(@Nullable String value)
setDescription in interface EventRuleProps@Nullable public Boolean getEnabled()
getEnabled in interface EventRulePropspublic void setEnabled(@Nullable Boolean value)
setEnabled in interface EventRuleProps@Nullable public EventPattern getEventPattern()
getEventPattern 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(@Nullable EventPattern value)
setEventPattern 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.@Nullable public String getRuleName()
getRuleName in interface EventRulePropspublic void setRuleName(@Nullable String value)
setRuleName in interface EventRuleProps@Nullable public String getScheduleExpression()
getScheduleExpression in interface EventRulePropsYou must specify this property, the `eventPattern` property, or both.public void setScheduleExpression(@Nullable String value)
setScheduleExpression in interface EventRulePropsYou must specify this property, the `eventPattern` property, or both.@Nullable public List<IEventRuleTarget> getTargets()
getTargets in interface EventRulePropspublic void setTargets(@Nullable List<IEventRuleTarget> value)
setTargets in interface EventRulePropsCopyright © 2018. All rights reserved.