Struct aws_sdk_quicksight::types::builders::AthenaParametersBuilder
source · #[non_exhaustive]pub struct AthenaParametersBuilder { /* private fields */ }Expand description
A builder for AthenaParameters.
Implementations§
source§impl AthenaParametersBuilder
impl AthenaParametersBuilder
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The workgroup that Amazon Athena uses.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The workgroup that Amazon Athena uses.
sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The workgroup that Amazon Athena uses.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
sourcepub fn build(self) -> AthenaParameters
pub fn build(self) -> AthenaParameters
Consumes the builder and constructs a AthenaParameters.
Trait Implementations§
source§impl Clone for AthenaParametersBuilder
impl Clone for AthenaParametersBuilder
source§fn clone(&self) -> AthenaParametersBuilder
fn clone(&self) -> AthenaParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AthenaParametersBuilder
impl Debug for AthenaParametersBuilder
source§impl Default for AthenaParametersBuilder
impl Default for AthenaParametersBuilder
source§fn default() -> AthenaParametersBuilder
fn default() -> AthenaParametersBuilder
source§impl PartialEq for AthenaParametersBuilder
impl PartialEq for AthenaParametersBuilder
source§fn eq(&self, other: &AthenaParametersBuilder) -> bool
fn eq(&self, other: &AthenaParametersBuilder) -> bool
self and other values to be equal, and is used
by ==.