#[non_exhaustive]pub struct ListPromptsOutputBuilder { /* private fields */ }
Expand description
A builder for ListPromptsOutput
.
Implementations§
source§impl ListPromptsOutputBuilder
impl ListPromptsOutputBuilder
sourcepub fn prompt_summary_list(self, input: PromptSummary) -> Self
pub fn prompt_summary_list(self, input: PromptSummary) -> Self
Appends an item to prompt_summary_list
.
To override the contents of this collection use set_prompt_summary_list
.
Information about the prompts.
sourcepub fn set_prompt_summary_list(self, input: Option<Vec<PromptSummary>>) -> Self
pub fn set_prompt_summary_list(self, input: Option<Vec<PromptSummary>>) -> Self
Information about the prompts.
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.
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.
sourcepub fn build(self) -> ListPromptsOutput
pub fn build(self) -> ListPromptsOutput
Consumes the builder and constructs a ListPromptsOutput
.
Trait Implementations§
source§impl Clone for ListPromptsOutputBuilder
impl Clone for ListPromptsOutputBuilder
source§fn clone(&self) -> ListPromptsOutputBuilder
fn clone(&self) -> ListPromptsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ListPromptsOutputBuilder
impl Debug for ListPromptsOutputBuilder
source§impl Default for ListPromptsOutputBuilder
impl Default for ListPromptsOutputBuilder
source§fn default() -> ListPromptsOutputBuilder
fn default() -> ListPromptsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListPromptsOutputBuilder> for ListPromptsOutputBuilder
impl PartialEq<ListPromptsOutputBuilder> for ListPromptsOutputBuilder
source§fn eq(&self, other: &ListPromptsOutputBuilder) -> bool
fn eq(&self, other: &ListPromptsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.