Struct aws_sdk_datasync::input::describe_task_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeTaskInput
.
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
The Amazon Resource Name (ARN) of the task to describe.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task to describe.
sourcepub fn build(self) -> Result<DescribeTaskInput, BuildError>
pub fn build(self) -> Result<DescribeTaskInput, BuildError>
Consumes the builder and constructs a DescribeTaskInput
.