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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGroupProps.getCanaries()Sets the value ofGroupProps.getGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
canaries
Sets the value ofGroupProps.getCanaries()- Parameters:
canaries- List of canaries to associate with this group. Each group can contain as many as 10 canaries.- Returns:
this
-
groupName
Sets the value ofGroupProps.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GroupProps>- Returns:
- a new instance of
GroupProps - Throws:
NullPointerException- if any required attribute was not provided
-