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 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

      @Stability(Experimental) public Group.Builder groupName(String 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

      @Stability(Experimental) public Group.Builder removalPolicy(RemovalPolicy 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

      @Stability(Experimental) public Group build()
      Specified by:
      build in interface software.amazon.jsii.Builder<Group>
      Returns:
      a newly built instance of Group.