Struct aws_sdk_verifiedpermissions::operation::list_identity_sources::builders::ListIdentitySourcesInputBuilder
source · #[non_exhaustive]pub struct ListIdentitySourcesInputBuilder { /* private fields */ }Expand description
A builder for ListIdentitySourcesInput.
Implementations§
source§impl ListIdentitySourcesInputBuilder
impl ListIdentitySourcesInputBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
Specifies the ID of the policy store that contains the identity sources that you want to list.
This field is required.sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
Specifies the ID of the policy store that contains the identity sources that you want to list.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
Specifies the ID of the policy store that contains the identity sources that you want to list.
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 in each response. 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 set of 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.
If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.
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 in each response. 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 set of 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.
If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.
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 in each response. 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 set of 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.
If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.
sourcepub fn filters(self, input: IdentitySourceFilter) -> Self
pub fn filters(self, input: IdentitySourceFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
Specifies characteristics of an identity source that you can use to limit the output to matching identity sources.
sourcepub fn set_filters(self, input: Option<Vec<IdentitySourceFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<IdentitySourceFilter>>) -> Self
Specifies characteristics of an identity source that you can use to limit the output to matching identity sources.
sourcepub fn get_filters(&self) -> &Option<Vec<IdentitySourceFilter>>
pub fn get_filters(&self) -> &Option<Vec<IdentitySourceFilter>>
Specifies characteristics of an identity source that you can use to limit the output to matching identity sources.
sourcepub fn build(self) -> Result<ListIdentitySourcesInput, BuildError>
pub fn build(self) -> Result<ListIdentitySourcesInput, BuildError>
Consumes the builder and constructs a ListIdentitySourcesInput.
source§impl ListIdentitySourcesInputBuilder
impl ListIdentitySourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListIdentitySourcesOutput, SdkError<ListIdentitySourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListIdentitySourcesOutput, SdkError<ListIdentitySourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListIdentitySourcesInputBuilder
impl Clone for ListIdentitySourcesInputBuilder
source§fn clone(&self) -> ListIdentitySourcesInputBuilder
fn clone(&self) -> ListIdentitySourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListIdentitySourcesInputBuilder
impl Default for ListIdentitySourcesInputBuilder
source§fn default() -> ListIdentitySourcesInputBuilder
fn default() -> ListIdentitySourcesInputBuilder
source§impl PartialEq for ListIdentitySourcesInputBuilder
impl PartialEq for ListIdentitySourcesInputBuilder
source§fn eq(&self, other: &ListIdentitySourcesInputBuilder) -> bool
fn eq(&self, other: &ListIdentitySourcesInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListIdentitySourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListIdentitySourcesInputBuilder
impl RefUnwindSafe for ListIdentitySourcesInputBuilder
impl Send for ListIdentitySourcesInputBuilder
impl Sync for ListIdentitySourcesInputBuilder
impl Unpin for ListIdentitySourcesInputBuilder
impl UnwindSafe for ListIdentitySourcesInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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