Class CfnInstance.TimeBasedAutoScalingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnInstance.TimeBasedAutoScalingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.TimeBasedAutoScalingProperty>
- Enclosing interface:
CfnInstance.TimeBasedAutoScalingProperty
@Stability(Stable)
public static final class CfnInstance.TimeBasedAutoScalingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.TimeBasedAutoScalingProperty>
A builder for
CfnInstance.TimeBasedAutoScalingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getFriday()
friday
(IResolvable friday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getFriday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getMonday()
monday
(IResolvable monday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getMonday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSaturday()
saturday
(IResolvable saturday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSaturday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSunday()
sunday
(IResolvable sunday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSunday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getThursday()
thursday
(IResolvable thursday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getThursday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getTuesday()
tuesday
(IResolvable tuesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getTuesday()
Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getWednesday()
wednesday
(IResolvable wednesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getWednesday()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
friday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder friday(IResolvable friday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getFriday()
- Parameters:
friday
- The schedule for Friday.- Returns:
this
-
friday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder friday(Map<String, String> friday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getFriday()
- Parameters:
friday
- The schedule for Friday.- Returns:
this
-
monday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder monday(IResolvable monday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getMonday()
- Parameters:
monday
- The schedule for Monday.- Returns:
this
-
monday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder monday(Map<String, String> monday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getMonday()
- Parameters:
monday
- The schedule for Monday.- Returns:
this
-
saturday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder saturday(IResolvable saturday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSaturday()
- Parameters:
saturday
- The schedule for Saturday.- Returns:
this
-
saturday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder saturday(Map<String, String> saturday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSaturday()
- Parameters:
saturday
- The schedule for Saturday.- Returns:
this
-
sunday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder sunday(IResolvable sunday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSunday()
- Parameters:
sunday
- The schedule for Sunday.- Returns:
this
-
sunday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder sunday(Map<String, String> sunday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getSunday()
- Parameters:
sunday
- The schedule for Sunday.- Returns:
this
-
thursday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder thursday(IResolvable thursday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getThursday()
- Parameters:
thursday
- The schedule for Thursday.- Returns:
this
-
thursday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder thursday(Map<String, String> thursday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getThursday()
- Parameters:
thursday
- The schedule for Thursday.- Returns:
this
-
tuesday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder tuesday(IResolvable tuesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getTuesday()
- Parameters:
tuesday
- The schedule for Tuesday.- Returns:
this
-
tuesday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder tuesday(Map<String, String> tuesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getTuesday()
- Parameters:
tuesday
- The schedule for Tuesday.- Returns:
this
-
wednesday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder wednesday(IResolvable wednesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getWednesday()
- Parameters:
wednesday
- The schedule for Wednesday.- Returns:
this
-
wednesday
@Stability(Stable) public CfnInstance.TimeBasedAutoScalingProperty.Builder wednesday(Map<String, String> wednesday) Sets the value ofCfnInstance.TimeBasedAutoScalingProperty.getWednesday()
- Parameters:
wednesday
- The schedule for Wednesday.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstance.TimeBasedAutoScalingProperty>
- Returns:
- a new instance of
CfnInstance.TimeBasedAutoScalingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-