Struct aws_sdk_codeartifact::output::list_domains_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListDomainsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domains(self, input: DomainSummary) -> Self
pub fn domains(self, input: DomainSummary) -> Self
Appends an item to domains
.
To override the contents of this collection use set_domains
.
The returned list of DomainSummary objects.
sourcepub fn set_domains(self, input: Option<Vec<DomainSummary>>) -> Self
pub fn set_domains(self, input: Option<Vec<DomainSummary>>) -> Self
The returned list of DomainSummary objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn build(self) -> ListDomainsOutput
pub fn build(self) -> ListDomainsOutput
Consumes the builder and constructs a ListDomainsOutput
.