#[non_exhaustive]pub struct ListPermissionsOutputBuilder { /* private fields */ }Expand description
A builder for ListPermissionsOutput.
Implementations§
source§impl ListPermissionsOutputBuilder
impl ListPermissionsOutputBuilder
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 with information about the permissions.
sourcepub fn set_permissions(
self,
input: Option<Vec<ResourceSharePermissionSummary>>
) -> Self
pub fn set_permissions( self, input: Option<Vec<ResourceSharePermissionSummary>> ) -> Self
An array of objects with information about the permissions.
sourcepub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
pub fn get_permissions(&self) -> &Option<Vec<ResourceSharePermissionSummary>>
An array of objects with information about the permissions.
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) -> ListPermissionsOutput
pub fn build(self) -> ListPermissionsOutput
Consumes the builder and constructs a ListPermissionsOutput.
Trait Implementations§
source§impl Clone for ListPermissionsOutputBuilder
impl Clone for ListPermissionsOutputBuilder
source§fn clone(&self) -> ListPermissionsOutputBuilder
fn clone(&self) -> ListPermissionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPermissionsOutputBuilder
impl Debug for ListPermissionsOutputBuilder
source§impl Default for ListPermissionsOutputBuilder
impl Default for ListPermissionsOutputBuilder
source§fn default() -> ListPermissionsOutputBuilder
fn default() -> ListPermissionsOutputBuilder
source§impl PartialEq for ListPermissionsOutputBuilder
impl PartialEq for ListPermissionsOutputBuilder
source§fn eq(&self, other: &ListPermissionsOutputBuilder) -> bool
fn eq(&self, other: &ListPermissionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.