Class CfnGroup.Builder

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

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

    • create

      @Stability(Stable) public static CfnGroup.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 CfnGroup.Builder.
    • name

      @Stability(Stable) public CfnGroup.Builder name(String name)
      A name for the group. It can include any Unicode characters.

      The names for all groups in your account, across all Regions, must be unique.

      Parameters:
      name - A name for the group. It can include any Unicode characters. This parameter is required.
      Returns:
      this
    • resourceArns

      @Stability(Stable) public CfnGroup.Builder resourceArns(List<String> resourceArns)
      The ARNs of the canaries that you want to associate with this group.

      Parameters:
      resourceArns - The ARNs of the canaries that you want to associate with this group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnGroup.Builder tags(List<? extends CfnTag> tags)
      The list of key-value pairs that are associated with the group.

      Parameters:
      tags - The list of key-value pairs that are associated with the group. This parameter is required.
      Returns:
      this
    • build

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