Class ScheduleGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.ScheduleGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ScheduleGroupProps>
- Enclosing interface:
ScheduleGroupProps
@Stability(Stable)
public static final class ScheduleGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ScheduleGroupProps>
A builder for
ScheduleGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.removalPolicy(RemovalPolicy removalPolicy) Sets the value ofScheduleGroupProps.getRemovalPolicy()scheduleGroupName(String scheduleGroupName) Sets the value ofScheduleGroupProps.getScheduleGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
removalPolicy
Sets the value ofScheduleGroupProps.getRemovalPolicy()- Parameters:
removalPolicy- The removal policy for the group. If the group is removed also all schedules are removed.- Returns:
this
-
scheduleGroupName
Sets the value ofScheduleGroupProps.getScheduleGroupName()- Parameters:
scheduleGroupName- The name of the schedule group. Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ScheduleGroupProps>- Returns:
- a new instance of
ScheduleGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-