Class CfnGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.CfnGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupProps>
- Enclosing interface:
- CfnGroupProps
@Stability(Stable)
public static final class CfnGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupProps>
A builder for
CfnGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGroupProps.getName()resourceArns(List<String> resourceArns) Sets the value ofCfnGroupProps.getResourceArns()Sets the value ofCfnGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnGroupProps.getName()- Parameters:
name- A name for the group. It can include any Unicode characters. This parameter is required. The names for all groups in your account, across all Regions, must be unique.- Returns:
this
-
resourceArns
Sets the value ofCfnGroupProps.getResourceArns()- Parameters:
resourceArns- The ARNs of the canaries that you want to associate with this group.- Returns:
this
-
tags
Sets the value ofCfnGroupProps.getTags()- Parameters:
tags- The list of key-value pairs that are associated with the group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupProps>- Returns:
- a new instance of
CfnGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-