Struct aws_sdk_ssoadmin::operation::list_application_grants::builders::ListApplicationGrantsOutputBuilder
source · #[non_exhaustive]pub struct ListApplicationGrantsOutputBuilder { /* private fields */ }
Expand description
A builder for ListApplicationGrantsOutput
.
Implementations§
source§impl ListApplicationGrantsOutputBuilder
impl ListApplicationGrantsOutputBuilder
sourcepub fn grants(self, input: GrantItem) -> Self
pub fn grants(self, input: GrantItem) -> Self
Appends an item to grants
.
To override the contents of this collection use set_grants
.
An array list of structures that describe the requested grants.
sourcepub fn set_grants(self, input: Option<Vec<GrantItem>>) -> Self
pub fn set_grants(self, input: Option<Vec<GrantItem>>) -> Self
An array list of structures that describe the requested grants.
sourcepub fn get_grants(&self) -> &Option<Vec<GrantItem>>
pub fn get_grants(&self) -> &Option<Vec<GrantItem>>
An array list of structures that describe the requested grants.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn build(self) -> Result<ListApplicationGrantsOutput, BuildError>
pub fn build(self) -> Result<ListApplicationGrantsOutput, BuildError>
Consumes the builder and constructs a ListApplicationGrantsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListApplicationGrantsOutputBuilder
impl Clone for ListApplicationGrantsOutputBuilder
source§fn clone(&self) -> ListApplicationGrantsOutputBuilder
fn clone(&self) -> ListApplicationGrantsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListApplicationGrantsOutputBuilder
impl Default for ListApplicationGrantsOutputBuilder
source§fn default() -> ListApplicationGrantsOutputBuilder
fn default() -> ListApplicationGrantsOutputBuilder
source§impl PartialEq for ListApplicationGrantsOutputBuilder
impl PartialEq for ListApplicationGrantsOutputBuilder
source§fn eq(&self, other: &ListApplicationGrantsOutputBuilder) -> bool
fn eq(&self, other: &ListApplicationGrantsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListApplicationGrantsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListApplicationGrantsOutputBuilder
impl RefUnwindSafe for ListApplicationGrantsOutputBuilder
impl Send for ListApplicationGrantsOutputBuilder
impl Sync for ListApplicationGrantsOutputBuilder
impl Unpin for ListApplicationGrantsOutputBuilder
impl UnwindSafe for ListApplicationGrantsOutputBuilder
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