Class CfnNamedQueryMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnNamedQueryMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNamedQueryMixinProps>
- Enclosing interface:
CfnNamedQueryMixinProps
@Stability(Stable)
public static final class CfnNamedQueryMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNamedQueryMixinProps>
A builder for
CfnNamedQueryMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNamedQueryMixinProps.getDatabase()description(String description) Sets the value ofCfnNamedQueryMixinProps.getDescription()Sets the value ofCfnNamedQueryMixinProps.getName()queryString(String queryString) Sets the value ofCfnNamedQueryMixinProps.getQueryString()Sets the value ofCfnNamedQueryMixinProps.getWorkGroup()workGroup(IWorkGroupRef workGroup) Sets the value ofCfnNamedQueryMixinProps.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
database
Sets the value ofCfnNamedQueryMixinProps.getDatabase()- Parameters:
database- The database to which the query belongs.- Returns:
this
-
description
Sets the value ofCfnNamedQueryMixinProps.getDescription()- Parameters:
description- The query description.- Returns:
this
-
name
Sets the value ofCfnNamedQueryMixinProps.getName()- Parameters:
name- The query name.- Returns:
this
-
queryString
Sets the value ofCfnNamedQueryMixinProps.getQueryString()- Parameters:
queryString- The SQL statements that make up the query.- Returns:
this
-
workGroup
Sets the value ofCfnNamedQueryMixinProps.getWorkGroup()- Parameters:
workGroup- The name of the workgroup that contains the named query.- Returns:
this
-
workGroup
Sets the value ofCfnNamedQueryMixinProps.getWorkGroup()- Parameters:
workGroup- The name of the workgroup that contains the named query.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNamedQueryMixinProps>- Returns:
- a new instance of
CfnNamedQueryMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-