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