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.identityCenterConfiguration
(IResolvable identityCenterConfiguration) Sets the value ofCfnDataSource.AthenaParametersProperty.getIdentityCenterConfiguration()
identityCenterConfiguration
(CfnDataSource.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnDataSource.AthenaParametersProperty.getIdentityCenterConfiguration()
Sets the value ofCfnDataSource.AthenaParametersProperty.getRoleArn()
Sets the value ofCfnDataSource.AthenaParametersProperty.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSource.AthenaParametersProperty.Builder identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnDataSource.AthenaParametersProperty.getIdentityCenterConfiguration()
- Parameters:
identityCenterConfiguration
- An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your workgroup. This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSource.AthenaParametersProperty.Builder identityCenterConfiguration(CfnDataSource.IdentityCenterConfigurationProperty identityCenterConfiguration) Sets the value ofCfnDataSource.AthenaParametersProperty.getIdentityCenterConfiguration()
- Parameters:
identityCenterConfiguration
- An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your workgroup. This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.- Returns:
this
-
roleArn
Sets the value ofCfnDataSource.AthenaParametersProperty.getRoleArn()
- Parameters:
roleArn
- Use theRoleArn
structure 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 useRoleArn
to 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.AthenaParametersProperty>
- Returns:
- a new instance of
CfnDataSource.AthenaParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-