Class CfnNamedQuery.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnNamedQuery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNamedQuery>
- Enclosing class:
CfnNamedQuery
@Stability(Stable)
public static final class CfnNamedQuery.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNamedQuery>
A fluent builder for
CfnNamedQuery
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnNamedQuery.Builder
The database to which the query belongs.description
(String description) The query description.The query name.queryString
(String queryString) The SQL statements that make up the query.The name of the workgroup that contains the named query.
-
Method Details
-
create
@Stability(Stable) public static CfnNamedQuery.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
CfnNamedQuery.Builder
.
-
database
The database to which the query belongs.- Parameters:
database
- The database to which the query belongs. This parameter is required.- Returns:
this
- See Also:
-
queryString
The SQL statements that make up the query.- Parameters:
queryString
- The SQL statements that make up the query. This parameter is required.- Returns:
this
- See Also:
-
description
The query description.- Parameters:
description
- The query description. This parameter is required.- Returns:
this
- See Also:
-
name
The query name.- Parameters:
name
- The query name. This parameter is required.- Returns:
this
- See Also:
-
workGroup
The name of the workgroup that contains the named query.- Parameters:
workGroup
- The name of the workgroup that contains the named query. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNamedQuery>
- Returns:
- a newly built instance of
CfnNamedQuery
.
-