#[non_exhaustive]pub struct AclConfigurationBuilder { /* private fields */ }Expand description
A builder for AclConfiguration.
Implementations§
Source§impl AclConfigurationBuilder
impl AclConfigurationBuilder
Sourcepub fn s3_acl_option(self, input: S3AclOption) -> Self
pub fn s3_acl_option(self, input: S3AclOption) -> Self
The Amazon S3 canned ACL that Athena should specify when storing query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.
Sourcepub fn set_s3_acl_option(self, input: Option<S3AclOption>) -> Self
pub fn set_s3_acl_option(self, input: Option<S3AclOption>) -> Self
The Amazon S3 canned ACL that Athena should specify when storing query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.
Sourcepub fn get_s3_acl_option(&self) -> &Option<S3AclOption>
pub fn get_s3_acl_option(&self) -> &Option<S3AclOption>
The Amazon S3 canned ACL that Athena should specify when storing query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide.
Sourcepub fn build(self) -> Result<AclConfiguration, BuildError>
pub fn build(self) -> Result<AclConfiguration, BuildError>
Consumes the builder and constructs a AclConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for AclConfigurationBuilder
impl Clone for AclConfigurationBuilder
Source§fn clone(&self) -> AclConfigurationBuilder
fn clone(&self) -> AclConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AclConfigurationBuilder
impl Debug for AclConfigurationBuilder
Source§impl Default for AclConfigurationBuilder
impl Default for AclConfigurationBuilder
Source§fn default() -> AclConfigurationBuilder
fn default() -> AclConfigurationBuilder
Source§impl PartialEq for AclConfigurationBuilder
impl PartialEq for AclConfigurationBuilder
impl StructuralPartialEq for AclConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AclConfigurationBuilder
impl RefUnwindSafe for AclConfigurationBuilder
impl Send for AclConfigurationBuilder
impl Sync for AclConfigurationBuilder
impl Unpin for AclConfigurationBuilder
impl UnsafeUnpin for AclConfigurationBuilder
impl UnwindSafe for AclConfigurationBuilder
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