Struct aws_sdk_applicationdiscovery::operation::list_server_neighbors::builders::ListServerNeighborsOutputBuilder
source · #[non_exhaustive]pub struct ListServerNeighborsOutputBuilder { /* private fields */ }
Expand description
A builder for ListServerNeighborsOutput
.
Implementations§
source§impl ListServerNeighborsOutputBuilder
impl ListServerNeighborsOutputBuilder
sourcepub fn neighbors(self, input: NeighborConnectionDetail) -> Self
pub fn neighbors(self, input: NeighborConnectionDetail) -> Self
Appends an item to neighbors
.
To override the contents of this collection use set_neighbors
.
List of distinct servers that are one hop away from the given server.
sourcepub fn set_neighbors(self, input: Option<Vec<NeighborConnectionDetail>>) -> Self
pub fn set_neighbors(self, input: Option<Vec<NeighborConnectionDetail>>) -> Self
List of distinct servers that are one hop away from the given server.
sourcepub fn get_neighbors(&self) -> &Option<Vec<NeighborConnectionDetail>>
pub fn get_neighbors(&self) -> &Option<Vec<NeighborConnectionDetail>>
List of distinct servers that are one hop away from the given server.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds
but set ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds
but set ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds
but set ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
sourcepub fn known_dependency_count(self, input: i64) -> Self
pub fn known_dependency_count(self, input: i64) -> Self
Count of distinct servers that are one hop away from the given server.
sourcepub fn set_known_dependency_count(self, input: Option<i64>) -> Self
pub fn set_known_dependency_count(self, input: Option<i64>) -> Self
Count of distinct servers that are one hop away from the given server.
sourcepub fn get_known_dependency_count(&self) -> &Option<i64>
pub fn get_known_dependency_count(&self) -> &Option<i64>
Count of distinct servers that are one hop away from the given server.
sourcepub fn build(self) -> Result<ListServerNeighborsOutput, BuildError>
pub fn build(self) -> Result<ListServerNeighborsOutput, BuildError>
Consumes the builder and constructs a ListServerNeighborsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListServerNeighborsOutputBuilder
impl Clone for ListServerNeighborsOutputBuilder
source§fn clone(&self) -> ListServerNeighborsOutputBuilder
fn clone(&self) -> ListServerNeighborsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListServerNeighborsOutputBuilder
impl Default for ListServerNeighborsOutputBuilder
source§fn default() -> ListServerNeighborsOutputBuilder
fn default() -> ListServerNeighborsOutputBuilder
source§impl PartialEq for ListServerNeighborsOutputBuilder
impl PartialEq for ListServerNeighborsOutputBuilder
source§fn eq(&self, other: &ListServerNeighborsOutputBuilder) -> bool
fn eq(&self, other: &ListServerNeighborsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.