#[non_exhaustive]pub struct ResultConfigurationUpdatesBuilder { /* private fields */ }Expand description
A builder for ResultConfigurationUpdates.
Implementations§
source§impl ResultConfigurationUpdatesBuilder
impl ResultConfigurationUpdatesBuilder
sourcepub fn output_location(self, input: impl Into<String>) -> Self
pub fn output_location(self, input: impl Into<String>) -> Self
The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output files. If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn set_output_location(self, input: Option<String>) -> Self
pub fn set_output_location(self, input: Option<String>) -> Self
The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output files. If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn get_output_location(&self) -> &Option<String>
pub fn get_output_location(&self) -> &Option<String>
The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output files. If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn remove_output_location(self, input: bool) -> Self
pub fn remove_output_location(self, input: bool) -> Self
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn set_remove_output_location(self, input: Option<bool>) -> Self
pub fn set_remove_output_location(self, input: Option<bool>) -> Self
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn get_remove_output_location(&self) -> &Option<bool>
pub fn get_remove_output_location(&self) -> &Option<bool>
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
The encryption configuration for query and calculation results.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
The encryption configuration for query and calculation results.
sourcepub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
pub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
The encryption configuration for query and calculation results.
sourcepub fn remove_encryption_configuration(self, input: bool) -> Self
pub fn remove_encryption_configuration(self, input: bool) -> Self
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn set_remove_encryption_configuration(self, input: Option<bool>) -> Self
pub fn set_remove_encryption_configuration(self, input: Option<bool>) -> Self
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn get_remove_encryption_configuration(&self) -> &Option<bool>
pub fn get_remove_encryption_configuration(&self) -> &Option<bool>
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
pub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
sourcepub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
pub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
sourcepub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
sourcepub fn remove_expected_bucket_owner(self, input: bool) -> Self
pub fn remove_expected_bucket_owner(self, input: bool) -> Self
If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn set_remove_expected_bucket_owner(self, input: Option<bool>) -> Self
pub fn set_remove_expected_bucket_owner(self, input: Option<bool>) -> Self
If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn get_remove_expected_bucket_owner(&self) -> &Option<bool>
pub fn get_remove_expected_bucket_owner(&self) -> &Option<bool>
If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn acl_configuration(self, input: AclConfiguration) -> Self
pub fn acl_configuration(self, input: AclConfiguration) -> Self
The ACL configuration for the query results.
sourcepub fn set_acl_configuration(self, input: Option<AclConfiguration>) -> Self
pub fn set_acl_configuration(self, input: Option<AclConfiguration>) -> Self
The ACL configuration for the query results.
sourcepub fn get_acl_configuration(&self) -> &Option<AclConfiguration>
pub fn get_acl_configuration(&self) -> &Option<AclConfiguration>
The ACL configuration for the query results.
sourcepub fn remove_acl_configuration(self, input: bool) -> Self
pub fn remove_acl_configuration(self, input: bool) -> Self
If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn set_remove_acl_configuration(self, input: Option<bool>) -> Self
pub fn set_remove_acl_configuration(self, input: Option<bool>) -> Self
If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn get_remove_acl_configuration(&self) -> &Option<bool>
pub fn get_remove_acl_configuration(&self) -> &Option<bool>
If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn build(self) -> ResultConfigurationUpdates
pub fn build(self) -> ResultConfigurationUpdates
Consumes the builder and constructs a ResultConfigurationUpdates.
Trait Implementations§
source§impl Clone for ResultConfigurationUpdatesBuilder
impl Clone for ResultConfigurationUpdatesBuilder
source§fn clone(&self) -> ResultConfigurationUpdatesBuilder
fn clone(&self) -> ResultConfigurationUpdatesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ResultConfigurationUpdatesBuilder
impl Default for ResultConfigurationUpdatesBuilder
source§fn default() -> ResultConfigurationUpdatesBuilder
fn default() -> ResultConfigurationUpdatesBuilder
source§impl PartialEq<ResultConfigurationUpdatesBuilder> for ResultConfigurationUpdatesBuilder
impl PartialEq<ResultConfigurationUpdatesBuilder> for ResultConfigurationUpdatesBuilder
source§fn eq(&self, other: &ResultConfigurationUpdatesBuilder) -> bool
fn eq(&self, other: &ResultConfigurationUpdatesBuilder) -> bool
self and other values to be equal, and is used
by ==.