Class Group.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.alpha.Group.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Group>
- Enclosing class:
Group
@Stability(Experimental)
public static final class Group.Builder
extends Object
implements software.amazon.jsii.Builder<Group>
(experimental) A fluent builder for
Group
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Group.Builder
(experimental) The name of the schedule group.removalPolicy
(RemovalPolicy removalPolicy) (experimental) The removal policy for the group.
-
Method Details
-
create
@Stability(Experimental) public static Group.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Group.Builder
.
-
groupName
(experimental) The name of the schedule group.Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.
Default: - A unique name will be generated
- Parameters:
groupName
- The name of the schedule group. This parameter is required.- Returns:
this
-
removalPolicy
(experimental) The removal policy for the group.If the group is removed also all schedules are removed.
Default: RemovalPolicy.RETAIN
- Parameters:
removalPolicy
- The removal policy for the group. This parameter is required.- Returns:
this
-
build
-