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 ==.impl StructuralPartialEq for AthenaParametersBuilder
Auto Trait Implementations§
impl Freeze for AthenaParametersBuilder
impl RefUnwindSafe for AthenaParametersBuilder
impl Send for AthenaParametersBuilder
impl Sync for AthenaParametersBuilder
impl Unpin for AthenaParametersBuilder
impl UnwindSafe for AthenaParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more