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