Interface ManagedQueryResultsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedQueryResultsConfiguration.Builder,
,ManagedQueryResultsConfiguration> SdkBuilder<ManagedQueryResultsConfiguration.Builder,
,ManagedQueryResultsConfiguration> SdkPojo
- Enclosing class:
ManagedQueryResultsConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionIf set to true, allows you to store query results in Athena owned storage.encryptionConfiguration
(Consumer<ManagedQueryResultsEncryptionConfiguration.Builder> 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.encryptionConfiguration
(ManagedQueryResultsEncryptionConfiguration 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 under
ResultConfiguration$OutputLocation
. The default is false. A workgroup cannot have theResultConfiguration$OutputLocation
parameter when you set this field to true.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
ManagedQueryResultsConfiguration.Builder encryptionConfiguration(ManagedQueryResultsEncryptionConfiguration 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default ManagedQueryResultsConfiguration.Builder encryptionConfiguration(Consumer<ManagedQueryResultsEncryptionConfiguration.Builder> 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.
This is a convenience method that creates an instance of theManagedQueryResultsEncryptionConfiguration.Builder
avoiding the need to create one manually viaManagedQueryResultsEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(ManagedQueryResultsEncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onManagedQueryResultsEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-