Class CfnViewMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnViewMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewMixinProps>
- Enclosing interface:
CfnViewMixinProps
@Stability(Stable)
public static final class CfnViewMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnViewMixinProps>
A builder for
CfnViewMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.definition(String definition) Sets the value ofCfnViewMixinProps.getDefinition()description(String description) Sets the value ofCfnViewMixinProps.getDescription()Sets the value ofCfnViewMixinProps.getName()Sets the value ofCfnViewMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofCfnViewMixinProps.getDefinition()- Parameters:
definition- The SQL query that defines the view.- Returns:
this
-
description
Sets the value ofCfnViewMixinProps.getDescription()- Parameters:
description- A description of the view.- Returns:
this
-
name
Sets the value ofCfnViewMixinProps.getName()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnViewMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the view.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewMixinProps>- Returns:
- a new instance of
CfnViewMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-