Struct aws_sdk_athena::input::delete_work_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteWorkGroupInput
.
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 unique name of the workgroup to delete.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The unique name of the workgroup to delete.
sourcepub fn recursive_delete_option(self, input: bool) -> Self
pub fn recursive_delete_option(self, input: bool) -> Self
The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.
sourcepub fn set_recursive_delete_option(self, input: Option<bool>) -> Self
pub fn set_recursive_delete_option(self, input: Option<bool>) -> Self
The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.
sourcepub fn build(self) -> Result<DeleteWorkGroupInput, BuildError>
pub fn build(self) -> Result<DeleteWorkGroupInput, BuildError>
Consumes the builder and constructs a DeleteWorkGroupInput
.