Class CfnScheduleGroup.Builder

java.lang.Object
software.amazon.awscdk.services.scheduler.CfnScheduleGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduleGroup>
Enclosing class:
CfnScheduleGroup

@Stability(Stable) public static final class CfnScheduleGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnScheduleGroup>
A fluent builder for CfnScheduleGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnScheduleGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnScheduleGroup.Builder.
    • name

      @Stability(Stable) public CfnScheduleGroup.Builder name(String name)
      The name of the schedule group.

      Parameters:
      name - The name of the schedule group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnScheduleGroup.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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