Class ScheduledActionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.autoscaling.ScheduledActionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ScheduledActionReference>
- Enclosing interface:
ScheduledActionReference
@Stability(Stable)
public static final class ScheduledActionReference.Builder
extends Object
implements software.amazon.jsii.Builder<ScheduledActionReference>
A builder for
ScheduledActionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupName(String autoScalingGroupName) Sets the value ofScheduledActionReference.getAutoScalingGroupName()build()Builds the configured instance.scheduledActionName(String scheduledActionName) Sets the value ofScheduledActionReference.getScheduledActionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoScalingGroupName
@Stability(Stable) public ScheduledActionReference.Builder autoScalingGroupName(String autoScalingGroupName) Sets the value ofScheduledActionReference.getAutoScalingGroupName()- Parameters:
autoScalingGroupName- The AutoScalingGroupName of the ScheduledAction resource. This parameter is required.- Returns:
this
-
scheduledActionName
@Stability(Stable) public ScheduledActionReference.Builder scheduledActionName(String scheduledActionName) Sets the value ofScheduledActionReference.getScheduledActionName()- Parameters:
scheduledActionName- The ScheduledActionName of the ScheduledAction resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ScheduledActionReference>- Returns:
- a new instance of
ScheduledActionReference - Throws:
NullPointerException- if any required attribute was not provided
-