Struct aws_sdk_datasync::input::delete_task_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteTaskInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task that you want to delete.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task that you want to delete.
sourcepub fn build(self) -> Result<DeleteTaskInput, BuildError>
pub fn build(self) -> Result<DeleteTaskInput, BuildError>
Consumes the builder and constructs a DeleteTaskInput
.