Struct aws_sdk_codeartifact::output::list_packages_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListPackagesOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn packages(self, input: PackageSummary) -> Self
pub fn packages(self, input: PackageSummary) -> Self
Appends an item to packages
.
To override the contents of this collection use set_packages
.
The list of returned PackageSummary objects.
sourcepub fn set_packages(self, input: Option<Vec<PackageSummary>>) -> Self
pub fn set_packages(self, input: Option<Vec<PackageSummary>>) -> Self
The list of returned PackageSummary objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for 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
If there are additional results, this is the token for the next set of results.
sourcepub fn build(self) -> ListPackagesOutput
pub fn build(self) -> ListPackagesOutput
Consumes the builder and constructs a ListPackagesOutput
.