Interface ManagedQueryResultsConfigurationUpdates.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedQueryResultsConfigurationUpdates.Builder,
,ManagedQueryResultsConfigurationUpdates> SdkBuilder<ManagedQueryResultsConfigurationUpdates.Builder,
,ManagedQueryResultsConfigurationUpdates> SdkPojo
- Enclosing class:
ManagedQueryResultsConfigurationUpdates
-
Method Summary
Modifier and TypeMethodDescriptionIf set to true, specifies that Athena manages 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.removeEncryptionConfiguration
(Boolean removeEncryptionConfiguration) If set to true, it removes workgroup from Athena owned storage.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, specifies that Athena manages query results in Athena owned storage.
- Parameters:
enabled
- If set to true, specifies that Athena manages query results in Athena owned storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
ManagedQueryResultsConfigurationUpdates.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 ManagedQueryResultsConfigurationUpdates.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:
-
removeEncryptionConfiguration
ManagedQueryResultsConfigurationUpdates.Builder removeEncryptionConfiguration(Boolean removeEncryptionConfiguration) If set to true, it removes workgroup from Athena owned storage. The existing query results are cleaned up after 24hrs. You must provide query results in location specified under
ResultConfiguration$OutputLocation
.- Parameters:
removeEncryptionConfiguration
- If set to true, it removes workgroup from Athena owned storage. The existing query results are cleaned up after 24hrs. You must provide query results in location specified underResultConfiguration$OutputLocation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-