Struct aws_sdk_lexmodelsv2::operation::list_test_set_records::builders::ListTestSetRecordsOutputBuilder
source · #[non_exhaustive]pub struct ListTestSetRecordsOutputBuilder { /* private fields */ }
Expand description
A builder for ListTestSetRecordsOutput
.
Implementations§
source§impl ListTestSetRecordsOutputBuilder
impl ListTestSetRecordsOutputBuilder
sourcepub fn test_set_records(self, input: TestSetTurnRecord) -> Self
pub fn test_set_records(self, input: TestSetTurnRecord) -> Self
Appends an item to test_set_records
.
To override the contents of this collection use set_test_set_records
.
The list of records from the test set.
sourcepub fn set_test_set_records(self, input: Option<Vec<TestSetTurnRecord>>) -> Self
pub fn set_test_set_records(self, input: Option<Vec<TestSetTurnRecord>>) -> Self
The list of records from the test set.
sourcepub fn get_test_set_records(&self) -> &Option<Vec<TestSetTurnRecord>>
pub fn get_test_set_records(&self) -> &Option<Vec<TestSetTurnRecord>>
The list of records from the test set.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.
sourcepub fn build(self) -> ListTestSetRecordsOutput
pub fn build(self) -> ListTestSetRecordsOutput
Consumes the builder and constructs a ListTestSetRecordsOutput
.
Trait Implementations§
source§impl Clone for ListTestSetRecordsOutputBuilder
impl Clone for ListTestSetRecordsOutputBuilder
source§fn clone(&self) -> ListTestSetRecordsOutputBuilder
fn clone(&self) -> ListTestSetRecordsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTestSetRecordsOutputBuilder
impl Default for ListTestSetRecordsOutputBuilder
source§fn default() -> ListTestSetRecordsOutputBuilder
fn default() -> ListTestSetRecordsOutputBuilder
source§impl PartialEq for ListTestSetRecordsOutputBuilder
impl PartialEq for ListTestSetRecordsOutputBuilder
source§fn eq(&self, other: &ListTestSetRecordsOutputBuilder) -> bool
fn eq(&self, other: &ListTestSetRecordsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTestSetRecordsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListTestSetRecordsOutputBuilder
impl RefUnwindSafe for ListTestSetRecordsOutputBuilder
impl Send for ListTestSetRecordsOutputBuilder
impl Sync for ListTestSetRecordsOutputBuilder
impl Unpin for ListTestSetRecordsOutputBuilder
impl UnwindSafe for ListTestSetRecordsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more