Struct aws_sdk_ram::operation::list_permission_versions::builders::ListPermissionVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListPermissionVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListPermissionVersionsOutput
.
Implementations§
source§impl ListPermissionVersionsOutputBuilder
impl ListPermissionVersionsOutputBuilder
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 contain details for each of the available versions.
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 contain details for each of the available versions.
sourcepub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
pub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
An array of objects that contain details for each of the available versions.
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) -> ListPermissionVersionsOutput
pub fn build(self) -> ListPermissionVersionsOutput
Consumes the builder and constructs a ListPermissionVersionsOutput
.
Trait Implementations§
source§impl Clone for ListPermissionVersionsOutputBuilder
impl Clone for ListPermissionVersionsOutputBuilder
source§fn clone(&self) -> ListPermissionVersionsOutputBuilder
fn clone(&self) -> ListPermissionVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListPermissionVersionsOutputBuilder
impl Default for ListPermissionVersionsOutputBuilder
source§fn default() -> ListPermissionVersionsOutputBuilder
fn default() -> ListPermissionVersionsOutputBuilder
source§impl PartialEq for ListPermissionVersionsOutputBuilder
impl PartialEq for ListPermissionVersionsOutputBuilder
source§fn eq(&self, other: &ListPermissionVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListPermissionVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPermissionVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPermissionVersionsOutputBuilder
impl RefUnwindSafe for ListPermissionVersionsOutputBuilder
impl Send for ListPermissionVersionsOutputBuilder
impl Sync for ListPermissionVersionsOutputBuilder
impl Unpin for ListPermissionVersionsOutputBuilder
impl UnwindSafe for ListPermissionVersionsOutputBuilder
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