#[non_exhaustive]pub struct ListMeshesOutputBuilder { /* private fields */ }Expand description
A builder for ListMeshesOutput.
Implementations§
source§impl ListMeshesOutputBuilder
impl ListMeshesOutputBuilder
sourcepub fn meshes(self, input: MeshRef) -> Self
pub fn meshes(self, input: MeshRef) -> Self
Appends an item to meshes.
To override the contents of this collection use set_meshes.
The list of existing service meshes.
sourcepub fn set_meshes(self, input: Option<Vec<MeshRef>>) -> Self
pub fn set_meshes(self, input: Option<Vec<MeshRef>>) -> Self
The list of existing service meshes.
sourcepub fn get_meshes(&self) -> &Option<Vec<MeshRef>>
pub fn get_meshes(&self) -> &Option<Vec<MeshRef>>
The list of existing service meshes.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> Result<ListMeshesOutput, BuildError>
pub fn build(self) -> Result<ListMeshesOutput, BuildError>
Consumes the builder and constructs a ListMeshesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListMeshesOutputBuilder
impl Clone for ListMeshesOutputBuilder
source§fn clone(&self) -> ListMeshesOutputBuilder
fn clone(&self) -> ListMeshesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListMeshesOutputBuilder
impl Debug for ListMeshesOutputBuilder
source§impl Default for ListMeshesOutputBuilder
impl Default for ListMeshesOutputBuilder
source§fn default() -> ListMeshesOutputBuilder
fn default() -> ListMeshesOutputBuilder
source§impl PartialEq for ListMeshesOutputBuilder
impl PartialEq for ListMeshesOutputBuilder
source§fn eq(&self, other: &ListMeshesOutputBuilder) -> bool
fn eq(&self, other: &ListMeshesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListMeshesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListMeshesOutputBuilder
impl RefUnwindSafe for ListMeshesOutputBuilder
impl Send for ListMeshesOutputBuilder
impl Sync for ListMeshesOutputBuilder
impl Unpin for ListMeshesOutputBuilder
impl UnwindSafe for ListMeshesOutputBuilder
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