Class CfnDataSourcePropsMixin.AthenaParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.AthenaParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.AthenaParametersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.AthenaParametersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.AthenaParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.AthenaParametersProperty>
A builder for
CfnDataSourcePropsMixin.AthenaParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identityCenterConfiguration(CfnDataSourcePropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) identityCenterConfiguration(IResolvable identityCenterConfiguration) Sets the value ofCfnDataSourcePropsMixin.AthenaParametersProperty.getRoleArn()Sets the value ofCfnDataSourcePropsMixin.AthenaParametersProperty.getWorkGroup()workGroup(IWorkGroupRef workGroup) Sets the value ofCfnDataSourcePropsMixin.AthenaParametersProperty.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.AthenaParametersProperty.Builder identityCenterConfiguration(IResolvable identityCenterConfiguration) - Parameters:
identityCenterConfiguration- An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your workgroup. This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.- Returns:
this
-
identityCenterConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.AthenaParametersProperty.Builder identityCenterConfiguration(CfnDataSourcePropsMixin.IdentityCenterConfigurationProperty identityCenterConfiguration) - Parameters:
identityCenterConfiguration- An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your workgroup. This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDataSourcePropsMixin.AthenaParametersProperty.Builder roleArn(String roleArn) Sets the value ofCfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.AthenaParametersProperty.Builder workGroup(String workGroup) Sets the value ofCfnDataSourcePropsMixin.AthenaParametersProperty.getWorkGroup()- Parameters:
workGroup- The workgroup that Amazon Athena uses.- Returns:
this
-
workGroup
@Stability(Stable) public CfnDataSourcePropsMixin.AthenaParametersProperty.Builder workGroup(IWorkGroupRef workGroup) Sets the value ofCfnDataSourcePropsMixin.AthenaParametersProperty.getWorkGroup()- Parameters:
workGroup- The workgroup that Amazon Athena uses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.AthenaParametersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.AthenaParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-