Struct aws_sdk_ram::operation::list_resource_share_permissions::builders::ListResourceSharePermissionsOutputBuilder
source · #[non_exhaustive]pub struct ListResourceSharePermissionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourceSharePermissionsOutput
.
Implementations§
sourcepub fn permissions(self, input: ResourceSharePermissionSummary) -> Self
pub fn permissions(self, input: ResourceSharePermissionSummary) -> Self
Appends an item to permissions
.
To override the contents of this collection use set_permissions
.
An array of objects that describe the permissions associated with the resource share.
sourcepub fn set_permissions(
self,
input: Option<Vec<ResourceSharePermissionSummary>>
) -> Self
pub fn set_permissions( self, input: Option<Vec<ResourceSharePermissionSummary>> ) -> Self
An array of objects that describe the permissions associated with the resource share.
sourcepub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
pub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
An array of objects that describe the permissions associated with the resource share.
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) -> ListResourceSharePermissionsOutput
pub fn build(self) -> ListResourceSharePermissionsOutput
Consumes the builder and constructs a ListResourceSharePermissionsOutput
.
Trait Implementations§
source§fn clone(&self) -> ListResourceSharePermissionsOutputBuilder
fn clone(&self) -> ListResourceSharePermissionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> ListResourceSharePermissionsOutputBuilder
fn default() -> ListResourceSharePermissionsOutputBuilder
source§fn eq(&self, other: &ListResourceSharePermissionsOutputBuilder) -> bool
fn eq(&self, other: &ListResourceSharePermissionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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