Struct aws_sdk_datasync::model::task_list_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TaskListEntry
.
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.
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.
sourcepub fn status(self, input: TaskStatus) -> Self
pub fn status(self, input: TaskStatus) -> Self
The status of the task.
sourcepub fn set_status(self, input: Option<TaskStatus>) -> Self
pub fn set_status(self, input: Option<TaskStatus>) -> Self
The status of the task.
sourcepub fn build(self) -> TaskListEntry
pub fn build(self) -> TaskListEntry
Consumes the builder and constructs a TaskListEntry
.