Class CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroup.ManagedQueryResultsConfigurationProperty>
- Enclosing interface:
CfnWorkGroup.ManagedQueryResultsConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroup.ManagedQueryResultsConfigurationProperty>
A builder for
CfnWorkGroup.ManagedQueryResultsConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnWorkGroup.ManagedQueryResultsConfigurationProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnWorkGroup.ManagedQueryResultsConfigurationProperty.getEnabled()
encryptionConfiguration
(IResolvable encryptionConfiguration) encryptionConfiguration
(CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty encryptionConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnWorkGroup.ManagedQueryResultsConfigurationProperty.getEnabled()
- 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$OutputLocation
parameter when you set this field to true.- Returns:
this
-
enabled
@Stability(Stable) public CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnWorkGroup.ManagedQueryResultsConfigurationProperty.getEnabled()
- 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$OutputLocation
parameter when you set this field to true.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkGroup.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 CfnWorkGroup.ManagedQueryResultsConfigurationProperty.Builder encryptionConfiguration(CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkGroup.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkGroup.ManagedQueryResultsConfigurationProperty>
- Returns:
- a new instance of
CfnWorkGroup.ManagedQueryResultsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-