Class CfnView.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.CfnView.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnView>
- Enclosing class:
CfnView
@Stability(Stable)
public static final class CfnView.Builder
extends Object
implements software.amazon.jsii.Builder<CfnView>
A fluent builder for
CfnView.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnView.Builderdefinition(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
@Stability(Stable) public static CfnView.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnView.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
-