Struct aws_sdk_memorydb::operation::describe_subnet_groups::builders::DescribeSubnetGroupsOutputBuilder
source · #[non_exhaustive]pub struct DescribeSubnetGroupsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeSubnetGroupsOutput
.
Implementations§
source§impl DescribeSubnetGroupsOutputBuilder
impl DescribeSubnetGroupsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn subnet_groups(self, input: SubnetGroup) -> Self
pub fn subnet_groups(self, input: SubnetGroup) -> Self
Appends an item to subnet_groups
.
To override the contents of this collection use set_subnet_groups
.
A list of subnet groups. Each element in the list contains detailed information about one group.
sourcepub fn set_subnet_groups(self, input: Option<Vec<SubnetGroup>>) -> Self
pub fn set_subnet_groups(self, input: Option<Vec<SubnetGroup>>) -> Self
A list of subnet groups. Each element in the list contains detailed information about one group.
sourcepub fn get_subnet_groups(&self) -> &Option<Vec<SubnetGroup>>
pub fn get_subnet_groups(&self) -> &Option<Vec<SubnetGroup>>
A list of subnet groups. Each element in the list contains detailed information about one group.
sourcepub fn build(self) -> DescribeSubnetGroupsOutput
pub fn build(self) -> DescribeSubnetGroupsOutput
Consumes the builder and constructs a DescribeSubnetGroupsOutput
.
Trait Implementations§
source§impl Clone for DescribeSubnetGroupsOutputBuilder
impl Clone for DescribeSubnetGroupsOutputBuilder
source§fn clone(&self) -> DescribeSubnetGroupsOutputBuilder
fn clone(&self) -> DescribeSubnetGroupsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeSubnetGroupsOutputBuilder
impl Default for DescribeSubnetGroupsOutputBuilder
source§fn default() -> DescribeSubnetGroupsOutputBuilder
fn default() -> DescribeSubnetGroupsOutputBuilder
source§impl PartialEq for DescribeSubnetGroupsOutputBuilder
impl PartialEq for DescribeSubnetGroupsOutputBuilder
source§fn eq(&self, other: &DescribeSubnetGroupsOutputBuilder) -> bool
fn eq(&self, other: &DescribeSubnetGroupsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.