Struct aws_sdk_mediaconnect::operation::list_gateway_instances::builders::ListGatewayInstancesOutputBuilder
source · #[non_exhaustive]pub struct ListGatewayInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for ListGatewayInstancesOutput
.
Implementations§
source§impl ListGatewayInstancesOutputBuilder
impl ListGatewayInstancesOutputBuilder
sourcepub fn instances(self, input: ListedGatewayInstance) -> Self
pub fn instances(self, input: ListedGatewayInstance) -> Self
Appends an item to instances
.
To override the contents of this collection use set_instances
.
A list of instance summaries.
sourcepub fn set_instances(self, input: Option<Vec<ListedGatewayInstance>>) -> Self
pub fn set_instances(self, input: Option<Vec<ListedGatewayInstance>>) -> Self
A list of instance summaries.
sourcepub fn get_instances(&self) -> &Option<Vec<ListedGatewayInstance>>
pub fn get_instances(&self) -> &Option<Vec<ListedGatewayInstance>>
A list of instance summaries.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that identifies which batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value.
sourcepub fn build(self) -> ListGatewayInstancesOutput
pub fn build(self) -> ListGatewayInstancesOutput
Consumes the builder and constructs a ListGatewayInstancesOutput
.
Trait Implementations§
source§impl Clone for ListGatewayInstancesOutputBuilder
impl Clone for ListGatewayInstancesOutputBuilder
source§fn clone(&self) -> ListGatewayInstancesOutputBuilder
fn clone(&self) -> ListGatewayInstancesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListGatewayInstancesOutputBuilder
impl Default for ListGatewayInstancesOutputBuilder
source§fn default() -> ListGatewayInstancesOutputBuilder
fn default() -> ListGatewayInstancesOutputBuilder
source§impl PartialEq for ListGatewayInstancesOutputBuilder
impl PartialEq for ListGatewayInstancesOutputBuilder
source§fn eq(&self, other: &ListGatewayInstancesOutputBuilder) -> bool
fn eq(&self, other: &ListGatewayInstancesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListGatewayInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListGatewayInstancesOutputBuilder
impl RefUnwindSafe for ListGatewayInstancesOutputBuilder
impl Send for ListGatewayInstancesOutputBuilder
impl Sync for ListGatewayInstancesOutputBuilder
impl Unpin for ListGatewayInstancesOutputBuilder
impl UnwindSafe for ListGatewayInstancesOutputBuilder
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