#[non_exhaustive]pub struct ListServicesOutputBuilder { /* private fields */ }Expand description
A builder for ListServicesOutput.
Implementations§
source§impl ListServicesOutputBuilder
impl ListServicesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next service in the array of services, after the current requested list of services.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next service in the array of services, after the current requested list of services.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates the location of the next service in the array of services, after the current requested list of services.
sourcepub fn services(self, input: ServiceSummary) -> Self
pub fn services(self, input: ServiceSummary) -> Self
Appends an item to services.
To override the contents of this collection use set_services.
An array of services with summaries of detail data.
sourcepub fn set_services(self, input: Option<Vec<ServiceSummary>>) -> Self
pub fn set_services(self, input: Option<Vec<ServiceSummary>>) -> Self
An array of services with summaries of detail data.
sourcepub fn get_services(&self) -> &Option<Vec<ServiceSummary>>
pub fn get_services(&self) -> &Option<Vec<ServiceSummary>>
An array of services with summaries of detail data.
sourcepub fn build(self) -> Result<ListServicesOutput, BuildError>
pub fn build(self) -> Result<ListServicesOutput, BuildError>
Consumes the builder and constructs a ListServicesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListServicesOutputBuilder
impl Clone for ListServicesOutputBuilder
source§fn clone(&self) -> ListServicesOutputBuilder
fn clone(&self) -> ListServicesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListServicesOutputBuilder
impl Debug for ListServicesOutputBuilder
source§impl Default for ListServicesOutputBuilder
impl Default for ListServicesOutputBuilder
source§fn default() -> ListServicesOutputBuilder
fn default() -> ListServicesOutputBuilder
impl StructuralPartialEq for ListServicesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListServicesOutputBuilder
impl RefUnwindSafe for ListServicesOutputBuilder
impl Send for ListServicesOutputBuilder
impl Sync for ListServicesOutputBuilder
impl Unpin for ListServicesOutputBuilder
impl UnwindSafe for ListServicesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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