Struct aws_sdk_athena::input::update_work_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateWorkGroupInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> Result<UpdateWorkGroupInput, BuildError>
pub fn build(self) -> Result<UpdateWorkGroupInput, BuildError>
Consumes the builder and constructs a UpdateWorkGroupInput
.