Class CfnEventRule.EventRuleStatusSummaryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.notifications.CfnEventRule.EventRuleStatusSummaryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventRule.EventRuleStatusSummaryProperty>
- Enclosing interface:
CfnEventRule.EventRuleStatusSummaryProperty
@Stability(Stable)
public static final class CfnEventRule.EventRuleStatusSummaryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventRule.EventRuleStatusSummaryProperty>
A builder for
CfnEventRule.EventRuleStatusSummaryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventRule.EventRuleStatusSummaryProperty.getReason()Sets the value ofCfnEventRule.EventRuleStatusSummaryProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
Sets the value ofCfnEventRule.EventRuleStatusSummaryProperty.getReason()- Parameters:
reason- A human-readable reason forEventRuleStatus. This parameter is required.- Returns:
this
-
status
Sets the value ofCfnEventRule.EventRuleStatusSummaryProperty.getStatus()- Parameters:
status- The status of theEventRule. This parameter is required.- Values:
ACTIVE- The
EventRulecan process events. INACTIVE- The
EventRulemay be unable to process events. CREATING- The
EventRuleis being created.
Only
GETandLISTcalls can be run.UPDATING- The
EventRuleis being updated.
Only
GETandLISTcalls can be run.DELETING- The
EventRuleis being deleted.
Only
GETandLISTcalls can be run.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventRule.EventRuleStatusSummaryProperty>- Returns:
- a new instance of
CfnEventRule.EventRuleStatusSummaryProperty - Throws:
NullPointerException- if any required attribute was not provided
-