Class CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.IntervalProperty>
- Enclosing interface:
CfnServiceLevelObjectivePropsMixin.IntervalProperty
@Stability(Stable)
public static final class CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.IntervalProperty>
A builder for
CfnServiceLevelObjectivePropsMixin.IntervalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.calendarInterval(CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty calendarInterval) calendarInterval(IResolvable calendarInterval) Sets the value ofCfnServiceLevelObjectivePropsMixin.IntervalProperty.getRollingInterval()rollingInterval(IResolvable rollingInterval) Sets the value ofCfnServiceLevelObjectivePropsMixin.IntervalProperty.getRollingInterval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calendarInterval
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder calendarInterval(IResolvable calendarInterval) - Parameters:
calendarInterval- If the interval is a calendar interval, this structure contains the interval specifications.- Returns:
this
-
calendarInterval
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder calendarInterval(CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty calendarInterval) - Parameters:
calendarInterval- If the interval is a calendar interval, this structure contains the interval specifications.- Returns:
this
-
rollingInterval
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder rollingInterval(IResolvable rollingInterval) Sets the value ofCfnServiceLevelObjectivePropsMixin.IntervalProperty.getRollingInterval()- Parameters:
rollingInterval- If the interval is a rolling interval, this structure contains the interval specifications.- Returns:
this
-
rollingInterval
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.IntervalProperty.Builder rollingInterval(CfnServiceLevelObjectivePropsMixin.RollingIntervalProperty rollingInterval) Sets the value ofCfnServiceLevelObjectivePropsMixin.IntervalProperty.getRollingInterval()- Parameters:
rollingInterval- If the interval is a rolling interval, this structure contains the interval specifications.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.IntervalProperty>- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.IntervalProperty - Throws:
NullPointerException- if any required attribute was not provided
-