Class CfnServiceLevelObjective.RecurrenceRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.RecurrenceRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjective.RecurrenceRuleProperty>
- Enclosing interface:
CfnServiceLevelObjective.RecurrenceRuleProperty
@Stability(Stable)
public static final class CfnServiceLevelObjective.RecurrenceRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjective.RecurrenceRuleProperty>
A builder for
CfnServiceLevelObjective.RecurrenceRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnServiceLevelObjective.RecurrenceRuleProperty.getExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnServiceLevelObjective.RecurrenceRuleProperty.Builder expression(String expression) Sets the value ofCfnServiceLevelObjective.RecurrenceRuleProperty.getExpression()- Parameters:
expression- A cron or rate expression that specifies the schedule for the exclusion window. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjective.RecurrenceRuleProperty>- Returns:
- a new instance of
CfnServiceLevelObjective.RecurrenceRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-