#[non_exhaustive]pub struct QueryResultsS3AccessGrantsConfigurationBuilder { /* private fields */ }Expand description
A builder for QueryResultsS3AccessGrantsConfiguration.
Implementations§
Source§impl QueryResultsS3AccessGrantsConfigurationBuilder
impl QueryResultsS3AccessGrantsConfigurationBuilder
Sourcepub fn enable_s3_access_grants(self, input: bool) -> Self
pub fn enable_s3_access_grants(self, input: bool) -> Self
Specifies whether Amazon S3 access grants are enabled for query results.
This field is required.Sourcepub fn set_enable_s3_access_grants(self, input: Option<bool>) -> Self
pub fn set_enable_s3_access_grants(self, input: Option<bool>) -> Self
Specifies whether Amazon S3 access grants are enabled for query results.
Sourcepub fn get_enable_s3_access_grants(&self) -> &Option<bool>
pub fn get_enable_s3_access_grants(&self) -> &Option<bool>
Specifies whether Amazon S3 access grants are enabled for query results.
Sourcepub fn create_user_level_prefix(self, input: bool) -> Self
pub fn create_user_level_prefix(self, input: bool) -> Self
When enabled, appends the user ID as an Amazon S3 path prefix to the query result output location.
Sourcepub fn set_create_user_level_prefix(self, input: Option<bool>) -> Self
pub fn set_create_user_level_prefix(self, input: Option<bool>) -> Self
When enabled, appends the user ID as an Amazon S3 path prefix to the query result output location.
Sourcepub fn get_create_user_level_prefix(&self) -> &Option<bool>
pub fn get_create_user_level_prefix(&self) -> &Option<bool>
When enabled, appends the user ID as an Amazon S3 path prefix to the query result output location.
Sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication type used for Amazon S3 access grants. Currently, only DIRECTORY_IDENTITY is supported.
Sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication type used for Amazon S3 access grants. Currently, only DIRECTORY_IDENTITY is supported.
Sourcepub fn get_authentication_type(&self) -> &Option<AuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AuthenticationType>
The authentication type used for Amazon S3 access grants. Currently, only DIRECTORY_IDENTITY is supported.
Sourcepub fn build(
self,
) -> Result<QueryResultsS3AccessGrantsConfiguration, BuildError>
pub fn build( self, ) -> Result<QueryResultsS3AccessGrantsConfiguration, BuildError>
Consumes the builder and constructs a QueryResultsS3AccessGrantsConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for QueryResultsS3AccessGrantsConfigurationBuilder
impl Clone for QueryResultsS3AccessGrantsConfigurationBuilder
Source§fn clone(&self) -> QueryResultsS3AccessGrantsConfigurationBuilder
fn clone(&self) -> QueryResultsS3AccessGrantsConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for QueryResultsS3AccessGrantsConfigurationBuilder
impl Default for QueryResultsS3AccessGrantsConfigurationBuilder
Source§fn default() -> QueryResultsS3AccessGrantsConfigurationBuilder
fn default() -> QueryResultsS3AccessGrantsConfigurationBuilder
Source§impl PartialEq for QueryResultsS3AccessGrantsConfigurationBuilder
impl PartialEq for QueryResultsS3AccessGrantsConfigurationBuilder
Source§fn eq(&self, other: &QueryResultsS3AccessGrantsConfigurationBuilder) -> bool
fn eq(&self, other: &QueryResultsS3AccessGrantsConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryResultsS3AccessGrantsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for QueryResultsS3AccessGrantsConfigurationBuilder
impl RefUnwindSafe for QueryResultsS3AccessGrantsConfigurationBuilder
impl Send for QueryResultsS3AccessGrantsConfigurationBuilder
impl Sync for QueryResultsS3AccessGrantsConfigurationBuilder
impl Unpin for QueryResultsS3AccessGrantsConfigurationBuilder
impl UnsafeUnpin for QueryResultsS3AccessGrantsConfigurationBuilder
impl UnwindSafe for QueryResultsS3AccessGrantsConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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