Class CfnNamedQueryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnNamedQueryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNamedQueryPropsMixin>
- Enclosing class:
CfnNamedQueryPropsMixin
@Stability(Stable)
public static final class CfnNamedQueryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNamedQueryPropsMixin>
A fluent builder for
CfnNamedQueryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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.workGroup(IWorkGroupRef workGroup) The name of the workgroup that contains the named query.
-
Method Details
-
create
@Stability(Stable) public static CfnNamedQueryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnNamedQueryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnNamedQueryPropsMixin.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:
-
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:
-
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:
-
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:
-
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:
buildin interfacesoftware.amazon.jsii.Builder<CfnNamedQueryPropsMixin>- Returns:
- a newly built instance of
CfnNamedQueryPropsMixin.
-