public static final class CfnGroupProps.Builder
extends java.lang.Object
CfnGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGroupProps |
build()
Builds the configured instance.
|
CfnGroupProps.Builder |
name(java.lang.String name)
Sets the value of
CfnGroupProps.getName() |
CfnGroupProps.Builder |
resourceArns(java.util.List<java.lang.String> resourceArns)
Sets the value of
CfnGroupProps.getResourceArns() |
CfnGroupProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnGroupProps.getTags() |
public CfnGroupProps.Builder name(java.lang.String name)
CfnGroupProps.getName()
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.this
public CfnGroupProps.Builder resourceArns(java.util.List<java.lang.String> resourceArns)
CfnGroupProps.getResourceArns()
resourceArns
- The ARNs of the canaries that you want to associate with this group.this
public CfnGroupProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnGroupProps.getTags()
tags
- The list of key-value pairs that are associated with the group.this
public CfnGroupProps build()
CfnGroupProps
java.lang.NullPointerException
- if any required attribute was not provided