#[non_exhaustive]pub struct CreateWorkGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateWorkGroupInput.
Implementations§
source§impl CreateWorkGroupInputBuilder
impl CreateWorkGroupInputBuilder
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<CreateWorkGroupInputBuilder> for CreateWorkGroupInputBuilder
impl PartialEq<CreateWorkGroupInputBuilder> 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 ==.