Struct aws_sdk_ecrpublic::operation::describe_repositories::builders::DescribeRepositoriesOutputBuilder
source · #[non_exhaustive]pub struct DescribeRepositoriesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeRepositoriesOutput
.
Implementations§
source§impl DescribeRepositoriesOutputBuilder
impl DescribeRepositoriesOutputBuilder
sourcepub fn repositories(self, input: Repository) -> Self
pub fn repositories(self, input: Repository) -> Self
Appends an item to repositories
.
To override the contents of this collection use set_repositories
.
A list of repository objects corresponding to valid repositories.
sourcepub fn set_repositories(self, input: Option<Vec<Repository>>) -> Self
pub fn set_repositories(self, input: Option<Vec<Repository>>) -> Self
A list of repository objects corresponding to valid repositories.
sourcepub fn get_repositories(&self) -> &Option<Vec<Repository>>
pub fn get_repositories(&self) -> &Option<Vec<Repository>>
A list of repository objects corresponding to valid repositories.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value to include in a future DescribeRepositories
request. When the results of a DescribeRepositories
request exceed maxResults
, this value can be used to retrieve the next page of results. If there are no more results to return, this value is null
.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value to include in a future DescribeRepositories
request. When the results of a DescribeRepositories
request exceed maxResults
, this value can be used to retrieve the next page of results. If there are no more results to return, this value is null
.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value to include in a future DescribeRepositories
request. When the results of a DescribeRepositories
request exceed maxResults
, this value can be used to retrieve the next page of results. If there are no more results to return, this value is null
.
sourcepub fn build(self) -> DescribeRepositoriesOutput
pub fn build(self) -> DescribeRepositoriesOutput
Consumes the builder and constructs a DescribeRepositoriesOutput
.
Trait Implementations§
source§impl Clone for DescribeRepositoriesOutputBuilder
impl Clone for DescribeRepositoriesOutputBuilder
source§fn clone(&self) -> DescribeRepositoriesOutputBuilder
fn clone(&self) -> DescribeRepositoriesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeRepositoriesOutputBuilder
impl Default for DescribeRepositoriesOutputBuilder
source§fn default() -> DescribeRepositoriesOutputBuilder
fn default() -> DescribeRepositoriesOutputBuilder
source§impl PartialEq for DescribeRepositoriesOutputBuilder
impl PartialEq for DescribeRepositoriesOutputBuilder
source§fn eq(&self, other: &DescribeRepositoriesOutputBuilder) -> bool
fn eq(&self, other: &DescribeRepositoriesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeRepositoriesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeRepositoriesOutputBuilder
impl RefUnwindSafe for DescribeRepositoriesOutputBuilder
impl Send for DescribeRepositoriesOutputBuilder
impl Sync for DescribeRepositoriesOutputBuilder
impl Unpin for DescribeRepositoriesOutputBuilder
impl UnwindSafe for DescribeRepositoriesOutputBuilder
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