Struct aws_sdk_ram::operation::list_resource_share_permissions::builders::ListResourceSharePermissionsInputBuilder
source · #[non_exhaustive]pub struct ListResourceSharePermissionsInputBuilder { /* private fields */ }Expand description
A builder for ListResourceSharePermissionsInput.
Implementations§
Specifies the Amazon Resource Name (ARN) of the resource share for which you want to retrieve the associated permissions.
This field is required.Specifies the Amazon Resource Name (ARN) of the resource share for which you want to retrieve the associated permissions.
Specifies the Amazon Resource Name (ARN) of the resource share for which you want to retrieve the associated permissions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
sourcepub fn build(self) -> Result<ListResourceSharePermissionsInput, BuildError>
pub fn build(self) -> Result<ListResourceSharePermissionsInput, BuildError>
Consumes the builder and constructs a ListResourceSharePermissionsInput.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResourceSharePermissionsOutput, SdkError<ListResourceSharePermissionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResourceSharePermissionsOutput, SdkError<ListResourceSharePermissionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> ListResourceSharePermissionsInputBuilder
fn clone(&self) -> ListResourceSharePermissionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn default() -> ListResourceSharePermissionsInputBuilder
fn default() -> ListResourceSharePermissionsInputBuilder
source§fn eq(&self, other: &ListResourceSharePermissionsInputBuilder) -> bool
fn eq(&self, other: &ListResourceSharePermissionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.