Class CfnViewPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnViewPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewPropsMixin>
- Enclosing class:
CfnViewPropsMixin
@Stability(Stable)
public static final class CfnViewPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnViewPropsMixin>
A fluent builder for
CfnViewPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnViewPropsMixin.Buildercreate()static CfnViewPropsMixin.Buildercreate(CfnPropertyMixinOptions options) definition(String definition) The SQL query that defines the view.description(String description) A description of the view.The name of the view.An array of key-value pairs to apply to the view.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnViewPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnViewPropsMixin.Builder.
-
definition
The SQL query that defines the view.- Parameters:
definition- The SQL query that defines the view. This parameter is required.- Returns:
this- See Also:
-
description
A description of the view.- Parameters:
description- A description of the view. This parameter is required.- Returns:
this- See Also:
-
name
The name of the view.Must begin with the "view." prefix followed by lowercase alphanumeric characters, hyphens, and underscores. View names must be unique within the account and region. If not specified, a name is generated.
- Parameters:
name- The name of the view. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to the view.- Parameters:
tags- An array of key-value pairs to apply to the view. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewPropsMixin>- Returns:
- a newly built instance of
CfnViewPropsMixin.
-