public static final class CfnActivity.Builder
extends java.lang.Object
CfnActivity
.Modifier and Type | Method and Description |
---|---|
CfnActivity |
build() |
static CfnActivity.Builder |
create(Construct scope,
java.lang.String id) |
CfnActivity.Builder |
name(java.lang.String name)
The name of the activity.
|
CfnActivity.Builder |
tags(java.util.List<? extends CfnActivity.TagsEntryProperty> tags)
The list of tags to add to a resource.
|
public static CfnActivity.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnActivity.TagsEntryProperty.Builder
.public CfnActivity.Builder name(java.lang.String name)
A name must not contain:
< > { } [ ]
? *
" # % \ ^ | ~
$ & , ; : /`U+0000-001F
, U+007F-009F
)To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
name
- The name of the activity. This parameter is required.this
public CfnActivity.Builder tags(java.util.List<? extends CfnActivity.TagsEntryProperty> tags)
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
tags
- The list of tags to add to a resource. This parameter is required.this
public CfnActivity build()