Interface ManagedQueryResultsConfigurationUpdates.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedQueryResultsConfigurationUpdates.Builder,ManagedQueryResultsConfigurationUpdates>,SdkBuilder<ManagedQueryResultsConfigurationUpdates.Builder,ManagedQueryResultsConfigurationUpdates>,SdkPojo
- Enclosing class:
- ManagedQueryResultsConfigurationUpdates
@Mutable @NotThreadSafe public static interface ManagedQueryResultsConfigurationUpdates.Builder extends SdkPojo, CopyableBuilder<ManagedQueryResultsConfigurationUpdates.Builder,ManagedQueryResultsConfigurationUpdates>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedQueryResultsConfigurationUpdates.Builderenabled(Boolean enabled)If set to true, specifies that Athena manages query results in Athena owned storage.default ManagedQueryResultsConfigurationUpdates.BuilderencryptionConfiguration(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.ManagedQueryResultsConfigurationUpdates.BuilderencryptionConfiguration(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.ManagedQueryResultsConfigurationUpdates.BuilderremoveEncryptionConfiguration(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 Detail
-
enabled
ManagedQueryResultsConfigurationUpdates.Builder enabled(Boolean 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.Builderavoiding the need to create one manually viaManagedQueryResultsEncryptionConfiguration.builder().When the
Consumercompletes,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:
encryptionConfiguration(ManagedQueryResultsEncryptionConfiguration)
-
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.
-
-