Struct aws_sdk_proton::operation::list_service_instances::builders::ListServiceInstancesOutputBuilder
source · #[non_exhaustive]pub struct ListServiceInstancesOutputBuilder { /* private fields */ }Expand description
A builder for ListServiceInstancesOutput.
Implementations§
source§impl ListServiceInstancesOutputBuilder
impl ListServiceInstancesOutputBuilder
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 instance in the array of service instances, after the current requested list of service instances.
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 instance in the array of service instances, after the current requested list of service instances.
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 instance in the array of service instances, after the current requested list of service instances.
sourcepub fn service_instances(self, input: ServiceInstanceSummary) -> Self
pub fn service_instances(self, input: ServiceInstanceSummary) -> Self
Appends an item to service_instances.
To override the contents of this collection use set_service_instances.
An array of service instances with summary data.
sourcepub fn set_service_instances(
self,
input: Option<Vec<ServiceInstanceSummary>>,
) -> Self
pub fn set_service_instances( self, input: Option<Vec<ServiceInstanceSummary>>, ) -> Self
An array of service instances with summary data.
sourcepub fn get_service_instances(&self) -> &Option<Vec<ServiceInstanceSummary>>
pub fn get_service_instances(&self) -> &Option<Vec<ServiceInstanceSummary>>
An array of service instances with summary data.
sourcepub fn build(self) -> Result<ListServiceInstancesOutput, BuildError>
pub fn build(self) -> Result<ListServiceInstancesOutput, BuildError>
Consumes the builder and constructs a ListServiceInstancesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListServiceInstancesOutputBuilder
impl Clone for ListServiceInstancesOutputBuilder
source§fn clone(&self) -> ListServiceInstancesOutputBuilder
fn clone(&self) -> ListServiceInstancesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListServiceInstancesOutputBuilder
impl Default for ListServiceInstancesOutputBuilder
source§fn default() -> ListServiceInstancesOutputBuilder
fn default() -> ListServiceInstancesOutputBuilder
source§impl PartialEq for ListServiceInstancesOutputBuilder
impl PartialEq for ListServiceInstancesOutputBuilder
source§fn eq(&self, other: &ListServiceInstancesOutputBuilder) -> bool
fn eq(&self, other: &ListServiceInstancesOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListServiceInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListServiceInstancesOutputBuilder
impl RefUnwindSafe for ListServiceInstancesOutputBuilder
impl Send for ListServiceInstancesOutputBuilder
impl Sync for ListServiceInstancesOutputBuilder
impl Unpin for ListServiceInstancesOutputBuilder
impl UnwindSafe for ListServiceInstancesOutputBuilder
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