#[non_exhaustive]pub struct ListDomainsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDomainsOutput
.
Implementations§
source§impl ListDomainsOutputBuilder
impl ListDomainsOutputBuilder
sourcepub fn items(self, input: DomainSummary) -> Self
pub fn items(self, input: DomainSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The results of the ListDomains
action.
sourcepub fn set_items(self, input: Option<Vec<DomainSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<DomainSummary>>) -> Self
The results of the ListDomains
action.
sourcepub fn get_items(&self) -> &Option<Vec<DomainSummary>>
pub fn get_items(&self) -> &Option<Vec<DomainSummary>>
The results of the ListDomains
action.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of domains is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of domains, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDomains
to list the next set of domains.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of domains is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of domains, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDomains
to list the next set of domains.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of domains is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of domains, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDomains
to list the next set of domains.
sourcepub fn build(self) -> Result<ListDomainsOutput, BuildError>
pub fn build(self) -> Result<ListDomainsOutput, BuildError>
Consumes the builder and constructs a ListDomainsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListDomainsOutputBuilder
impl Clone for ListDomainsOutputBuilder
source§fn clone(&self) -> ListDomainsOutputBuilder
fn clone(&self) -> ListDomainsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDomainsOutputBuilder
impl Debug for ListDomainsOutputBuilder
source§impl Default for ListDomainsOutputBuilder
impl Default for ListDomainsOutputBuilder
source§fn default() -> ListDomainsOutputBuilder
fn default() -> ListDomainsOutputBuilder
source§impl PartialEq for ListDomainsOutputBuilder
impl PartialEq for ListDomainsOutputBuilder
source§fn eq(&self, other: &ListDomainsOutputBuilder) -> bool
fn eq(&self, other: &ListDomainsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.