Class CfnEventRulePropsMixin.EventRuleStatusSummaryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.notifications.CfnEventRulePropsMixin.EventRuleStatusSummaryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventRulePropsMixin.EventRuleStatusSummaryProperty>
- Enclosing interface:
CfnEventRulePropsMixin.EventRuleStatusSummaryProperty
@Stability(Stable)
public static final class CfnEventRulePropsMixin.EventRuleStatusSummaryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventRulePropsMixin.EventRuleStatusSummaryProperty>
A builder for
CfnEventRulePropsMixin.EventRuleStatusSummaryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventRulePropsMixin.EventRuleStatusSummaryProperty.getReason()Sets the value ofCfnEventRulePropsMixin.EventRuleStatusSummaryProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
@Stability(Stable) public CfnEventRulePropsMixin.EventRuleStatusSummaryProperty.Builder reason(String reason) Sets the value ofCfnEventRulePropsMixin.EventRuleStatusSummaryProperty.getReason()- Parameters:
reason- A human-readable reason forEventRuleStatus.- Returns:
this
-
status
@Stability(Stable) public CfnEventRulePropsMixin.EventRuleStatusSummaryProperty.Builder status(String status) Sets the value ofCfnEventRulePropsMixin.EventRuleStatusSummaryProperty.getStatus()- Parameters:
status- The status of theEventRule.- 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<CfnEventRulePropsMixin.EventRuleStatusSummaryProperty>- Returns:
- a new instance of
CfnEventRulePropsMixin.EventRuleStatusSummaryProperty - Throws:
NullPointerException- if any required attribute was not provided
-