Class GroupProps.Builder

java.lang.Object
software.amazon.awscdk.services.synthetics.GroupProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<GroupProps>
Enclosing interface:
GroupProps

@Stability(Stable) 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

    • canaries

      @Stability(Stable) public GroupProps.Builder canaries(List<? extends ICanary> canaries)
      Sets the value of GroupProps.getCanaries()
      Parameters:
      canaries - List of canaries to associate with this group. Each group can contain as many as 10 canaries.
      Returns:
      this
    • groupName

      @Stability(Stable) public GroupProps.Builder groupName(String groupName)
      Sets the value of GroupProps.getGroupName()
      Parameters:
      groupName - A name for the group. Must contain only lowercase alphanumeric characters, hyphens, or underscores, and be at most 64 characters. The names for all groups in your account, across all Regions, must be unique.
      Returns:
      this
    • build

      @Stability(Stable) 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