Class CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) encryptionConfiguration(CfnWorkGroupPropsMixin.ManagedStorageEncryptionConfigurationProperty encryptionConfiguration) encryptionConfiguration(IResolvable encryptionConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- If set to true, allows you to store query results in Athena owned storage. If set to false, workgroup member stores query results in location specified underResultConfiguration$OutputLocation. The default is false. A workgroup cannot have theResultConfiguration$OutputLocationparameter when you set this field to true.- Returns:
this
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- If set to true, allows you to store query results in Athena owned storage. If set to false, workgroup member stores query results in location specified underResultConfiguration$OutputLocation. The default is false. A workgroup cannot have theResultConfiguration$OutputLocationparameter when you set this field to true.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.Builder encryptionConfiguration(CfnWorkGroupPropsMixin.ManagedStorageEncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-