Class CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationsignals.CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty>
- Enclosing interface:
CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty
@Stability(Stable)
public static final class CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getReason()recurrenceRule(IResolvable recurrenceRule) Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getWindow()window(IResolvable window) Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getWindow()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder reason(String reason) Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getReason()- Parameters:
reason- The reason for the time exclusion windows. For example, maintenance.- Returns:
this
-
recurrenceRule
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder recurrenceRule(IResolvable recurrenceRule) - Parameters:
recurrenceRule- The recurrence rule for the time exclusion window.- Returns:
this
-
recurrenceRule
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder recurrenceRule(CfnServiceLevelObjectivePropsMixin.RecurrenceRuleProperty recurrenceRule) - Parameters:
recurrenceRule- The recurrence rule for the time exclusion window.- Returns:
this
-
startTime
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder startTime(String startTime) - Parameters:
startTime- The start time of the time exclusion window.- Returns:
this
-
window
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder window(IResolvable window) Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getWindow()- Parameters:
window- The time exclusion window.- Returns:
this
-
window
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.Builder window(CfnServiceLevelObjectivePropsMixin.WindowProperty window) Sets the value ofCfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty.getWindow()- Parameters:
window- The time exclusion window.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty>- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.ExclusionWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-