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 Details

    • Builder

      public Builder()
  • Method Details

    • groupName

      @Stability(Experimental) public GroupProps.Builder groupName(String groupName)
      Sets the value of GroupProps.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

      @Stability(Experimental) public GroupProps.Builder removalPolicy(RemovalPolicy removalPolicy)
      Parameters:
      removalPolicy - The removal policy for the group. If the group is removed also all schedules are removed.
      Returns:
      this
    • build

      @Stability(Experimental) public GroupProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<GroupProps>
      Returns:
      a new instance of GroupProps
      Throws:
      NullPointerException - if any required attribute was not provided