Class CfnDataSource.AthenaParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.AthenaParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.AthenaParametersProperty>
- Enclosing interface:
- CfnDataSource.AthenaParametersProperty
@Stability(Stable)
public static final class CfnDataSource.AthenaParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.AthenaParametersProperty>
A builder for
CfnDataSource.AthenaParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.AthenaParametersProperty.getRoleArn()Sets the value ofCfnDataSource.AthenaParametersProperty.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnDataSource.AthenaParametersProperty.getRoleArn()- Parameters:
roleArn- Use theRoleArnstructure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then useRoleArnto bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.- Returns:
this
-
workGroup
@Stability(Stable) public CfnDataSource.AthenaParametersProperty.Builder workGroup(String workGroup) Sets the value ofCfnDataSource.AthenaParametersProperty.getWorkGroup()- Parameters:
workGroup- The workgroup that Amazon Athena uses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.AthenaParametersProperty>- Returns:
- a new instance of
CfnDataSource.AthenaParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-