Struct aws_sdk_connect::output::list_task_templates_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListTaskTemplatesOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn task_templates(self, input: TaskTemplateMetadata) -> Self
pub fn task_templates(self, input: TaskTemplateMetadata) -> Self
Appends an item to task_templates
.
To override the contents of this collection use set_task_templates
.
Provides details about a list of task templates belonging to an instance.
sourcepub fn set_task_templates(self, input: Option<Vec<TaskTemplateMetadata>>) -> Self
pub fn set_task_templates(self, input: Option<Vec<TaskTemplateMetadata>>) -> Self
Provides details about a list of task templates belonging to an instance.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
sourcepub fn build(self) -> ListTaskTemplatesOutput
pub fn build(self) -> ListTaskTemplatesOutput
Consumes the builder and constructs a ListTaskTemplatesOutput
.