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 ==.