pub struct UpdateWorkGroupFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateWorkGroup.
Updates the workgroup with the specified name. The workgroup's name cannot be changed. Only ConfigurationUpdates can be specified.
Implementations§
source§impl UpdateWorkGroupFluentBuilder
impl UpdateWorkGroupFluentBuilder
sourcepub fn as_input(&self) -> &UpdateWorkGroupInputBuilder
pub fn as_input(&self) -> &UpdateWorkGroupInputBuilder
Access the UpdateWorkGroup as a reference.
sourcepub async fn send(
self
) -> Result<UpdateWorkGroupOutput, SdkError<UpdateWorkGroupError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateWorkGroupOutput, SdkError<UpdateWorkGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateWorkGroupOutput, UpdateWorkGroupError>, SdkError<UpdateWorkGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateWorkGroupOutput, UpdateWorkGroupError>, SdkError<UpdateWorkGroupError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The specified workgroup that will be updated.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The specified workgroup that will be updated.
sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The specified workgroup that will be updated.
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.
sourcepub fn configuration_updates(self, input: WorkGroupConfigurationUpdates) -> Self
pub fn configuration_updates(self, input: WorkGroupConfigurationUpdates) -> Self
Contains configuration updates for an Athena SQL workgroup.
sourcepub fn set_configuration_updates(
self,
input: Option<WorkGroupConfigurationUpdates>
) -> Self
pub fn set_configuration_updates( self, input: Option<WorkGroupConfigurationUpdates> ) -> Self
Contains configuration updates for an Athena SQL workgroup.
sourcepub fn get_configuration_updates(
&self
) -> &Option<WorkGroupConfigurationUpdates>
pub fn get_configuration_updates( &self ) -> &Option<WorkGroupConfigurationUpdates>
Contains configuration updates for an Athena SQL workgroup.
sourcepub fn state(self, input: WorkGroupState) -> Self
pub fn state(self, input: WorkGroupState) -> Self
The workgroup state that will be updated for the given workgroup.
sourcepub fn set_state(self, input: Option<WorkGroupState>) -> Self
pub fn set_state(self, input: Option<WorkGroupState>) -> Self
The workgroup state that will be updated for the given workgroup.
sourcepub fn get_state(&self) -> &Option<WorkGroupState>
pub fn get_state(&self) -> &Option<WorkGroupState>
The workgroup state that will be updated for the given workgroup.
Trait Implementations§
source§impl Clone for UpdateWorkGroupFluentBuilder
impl Clone for UpdateWorkGroupFluentBuilder
source§fn clone(&self) -> UpdateWorkGroupFluentBuilder
fn clone(&self) -> UpdateWorkGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more