pub struct Builder { /* private fields */ }
Expand description
A builder for WorkGroupConfigurationUpdates
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn enforce_work_group_configuration(self, input: bool) -> Self
pub fn enforce_work_group_configuration(self, input: bool) -> Self
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn set_enforce_work_group_configuration(self, input: Option<bool>) -> Self
pub fn set_enforce_work_group_configuration(self, input: Option<bool>) -> Self
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn result_configuration_updates(
self,
input: ResultConfigurationUpdates
) -> Self
pub fn result_configuration_updates( self, input: ResultConfigurationUpdates ) -> Self
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
sourcepub fn set_result_configuration_updates(
self,
input: Option<ResultConfigurationUpdates>
) -> Self
pub fn set_result_configuration_updates( self, input: Option<ResultConfigurationUpdates> ) -> Self
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
sourcepub fn publish_cloud_watch_metrics_enabled(self, input: bool) -> Self
pub fn publish_cloud_watch_metrics_enabled(self, input: bool) -> Self
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
sourcepub fn set_publish_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
pub fn set_publish_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
sourcepub fn bytes_scanned_cutoff_per_query(self, input: i64) -> Self
pub fn bytes_scanned_cutoff_per_query(self, input: i64) -> Self
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
sourcepub fn set_bytes_scanned_cutoff_per_query(self, input: Option<i64>) -> Self
pub fn set_bytes_scanned_cutoff_per_query(self, input: Option<i64>) -> Self
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
sourcepub fn remove_bytes_scanned_cutoff_per_query(self, input: bool) -> Self
pub fn remove_bytes_scanned_cutoff_per_query(self, input: bool) -> Self
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
sourcepub fn set_remove_bytes_scanned_cutoff_per_query(
self,
input: Option<bool>
) -> Self
pub fn set_remove_bytes_scanned_cutoff_per_query( self, input: Option<bool> ) -> Self
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
sourcepub fn requester_pays_enabled(self, input: bool) -> Self
pub fn requester_pays_enabled(self, input: bool) -> Self
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
sourcepub fn set_requester_pays_enabled(self, input: Option<bool>) -> Self
pub fn set_requester_pays_enabled(self, input: Option<bool>) -> Self
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
sourcepub fn engine_version(self, input: EngineVersion) -> Self
pub fn engine_version(self, input: EngineVersion) -> Self
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
sourcepub fn set_engine_version(self, input: Option<EngineVersion>) -> Self
pub fn set_engine_version(self, input: Option<EngineVersion>) -> Self
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
sourcepub fn remove_customer_content_encryption_configuration(
self,
input: bool
) -> Self
pub fn remove_customer_content_encryption_configuration( self, input: bool ) -> Self
Removes content encryption configuration for a workgroup.
sourcepub fn set_remove_customer_content_encryption_configuration(
self,
input: Option<bool>
) -> Self
pub fn set_remove_customer_content_encryption_configuration( self, input: Option<bool> ) -> Self
Removes content encryption configuration for a workgroup.
sourcepub fn additional_configuration(self, input: impl Into<String>) -> Self
pub fn additional_configuration(self, input: impl Into<String>) -> Self
Contains a user defined string in JSON format for a Spark-enabled workgroup.
sourcepub fn set_additional_configuration(self, input: Option<String>) -> Self
pub fn set_additional_configuration(self, input: Option<String>) -> Self
Contains a user defined string in JSON format for a Spark-enabled workgroup.
sourcepub fn execution_role(self, input: impl Into<String>) -> Self
pub fn execution_role(self, input: impl Into<String>) -> Self
Contains the ARN of the execution role for the workgroup
sourcepub fn set_execution_role(self, input: Option<String>) -> Self
pub fn set_execution_role(self, input: Option<String>) -> Self
Contains the ARN of the execution role for the workgroup
sourcepub fn customer_content_encryption_configuration(
self,
input: CustomerContentEncryptionConfiguration
) -> Self
pub fn customer_content_encryption_configuration( self, input: CustomerContentEncryptionConfiguration ) -> Self
Specifies the KMS key that is used to encrypt the user's data stores in Athena.
sourcepub fn set_customer_content_encryption_configuration(
self,
input: Option<CustomerContentEncryptionConfiguration>
) -> Self
pub fn set_customer_content_encryption_configuration( self, input: Option<CustomerContentEncryptionConfiguration> ) -> Self
Specifies the KMS key that is used to encrypt the user's data stores in Athena.
sourcepub fn build(self) -> WorkGroupConfigurationUpdates
pub fn build(self) -> WorkGroupConfigurationUpdates
Consumes the builder and constructs a WorkGroupConfigurationUpdates
.