Struct aws_sdk_codeartifact::operation::list_package_groups::builders::ListPackageGroupsOutputBuilder
source · #[non_exhaustive]pub struct ListPackageGroupsOutputBuilder { /* private fields */ }Expand description
A builder for ListPackageGroupsOutput.
Implementations§
source§impl ListPackageGroupsOutputBuilder
impl ListPackageGroupsOutputBuilder
sourcepub fn package_groups(self, input: PackageGroupSummary) -> Self
pub fn package_groups(self, input: PackageGroupSummary) -> Self
Appends an item to package_groups.
To override the contents of this collection use set_package_groups.
The list of package groups in the requested domain.
sourcepub fn set_package_groups(self, input: Option<Vec<PackageGroupSummary>>) -> Self
pub fn set_package_groups(self, input: Option<Vec<PackageGroupSummary>>) -> Self
The list of package groups in the requested domain.
sourcepub fn get_package_groups(&self) -> &Option<Vec<PackageGroupSummary>>
pub fn get_package_groups(&self) -> &Option<Vec<PackageGroupSummary>>
The list of package groups in the requested domain.
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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) -> ListPackageGroupsOutput
pub fn build(self) -> ListPackageGroupsOutput
Consumes the builder and constructs a ListPackageGroupsOutput.
Trait Implementations§
source§impl Clone for ListPackageGroupsOutputBuilder
impl Clone for ListPackageGroupsOutputBuilder
source§fn clone(&self) -> ListPackageGroupsOutputBuilder
fn clone(&self) -> ListPackageGroupsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListPackageGroupsOutputBuilder
impl Default for ListPackageGroupsOutputBuilder
source§fn default() -> ListPackageGroupsOutputBuilder
fn default() -> ListPackageGroupsOutputBuilder
source§impl PartialEq for ListPackageGroupsOutputBuilder
impl PartialEq for ListPackageGroupsOutputBuilder
source§fn eq(&self, other: &ListPackageGroupsOutputBuilder) -> bool
fn eq(&self, other: &ListPackageGroupsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPackageGroupsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPackageGroupsOutputBuilder
impl RefUnwindSafe for ListPackageGroupsOutputBuilder
impl Send for ListPackageGroupsOutputBuilder
impl Sync for ListPackageGroupsOutputBuilder
impl Unpin for ListPackageGroupsOutputBuilder
impl UnwindSafe for ListPackageGroupsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more