Class CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty>
- Enclosing interface:
CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty
@Stability(Stable)
public static final class CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty.Builder expression(String expression) - Parameters:
expression- The following two rules are supported:.- rate(value unit) - The value must be a positive integer and the unit can be hour|day|month.
- cron - An expression which consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year).
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty>- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-