Class Group.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.Group.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Group>
- Enclosing class:
Group
@Stability(Stable)
public static final class Group.Builder
extends Object
implements software.amazon.jsii.Builder<Group>
A fluent builder for
Group.-
Method Summary
Modifier and TypeMethodDescriptionbuild()List of canaries to associate with this group.static Group.BuilderA name for the group.
-
Method Details
-
create
@Stability(Stable) 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.
-
canaries
List of canaries to associate with this group.Each group can contain as many as 10 canaries.
Default: - No canaries are associated with the group initially
- Parameters:
canaries- List of canaries to associate with this group. This parameter is required.- Returns:
this
-
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.
Default: - A unique name will be generated from the construct ID
- Parameters:
groupName- A name for the group. Must contain only lowercase alphanumeric characters, hyphens, or underscores, and be at most 64 characters. This parameter is required.- Returns:
this
-
build
-