#[non_exhaustive]pub struct CreateWorkGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateWorkGroupInput.
Implementations§
source§impl CreateWorkGroupInputBuilder
impl CreateWorkGroupInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The workgroup name.
This field is required.sourcepub fn configuration(self, input: WorkGroupConfiguration) -> Self
pub fn configuration(self, input: WorkGroupConfiguration) -> Self
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
pub fn set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn get_configuration(&self) -> &Option<WorkGroupConfiguration>
pub fn get_configuration(&self) -> &Option<WorkGroupConfiguration>
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The workgroup description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The workgroup description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The workgroup description.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of comma separated tags to add to the workgroup that is created.
A list of comma separated tags to add to the workgroup that is created.
A list of comma separated tags to add to the workgroup that is created.
sourcepub fn build(self) -> Result<CreateWorkGroupInput, BuildError>
pub fn build(self) -> Result<CreateWorkGroupInput, BuildError>
Consumes the builder and constructs a CreateWorkGroupInput.
source§impl CreateWorkGroupInputBuilder
impl CreateWorkGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWorkGroupInputBuilder
impl Clone for CreateWorkGroupInputBuilder
source§fn clone(&self) -> CreateWorkGroupInputBuilder
fn clone(&self) -> CreateWorkGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWorkGroupInputBuilder
impl Debug for CreateWorkGroupInputBuilder
source§impl Default for CreateWorkGroupInputBuilder
impl Default for CreateWorkGroupInputBuilder
source§fn default() -> CreateWorkGroupInputBuilder
fn default() -> CreateWorkGroupInputBuilder
source§impl PartialEq for CreateWorkGroupInputBuilder
impl PartialEq for CreateWorkGroupInputBuilder
source§fn eq(&self, other: &CreateWorkGroupInputBuilder) -> bool
fn eq(&self, other: &CreateWorkGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWorkGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWorkGroupInputBuilder
impl RefUnwindSafe for CreateWorkGroupInputBuilder
impl Send for CreateWorkGroupInputBuilder
impl Sync for CreateWorkGroupInputBuilder
impl Unpin for CreateWorkGroupInputBuilder
impl UnwindSafe for CreateWorkGroupInputBuilder
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