#[non_exhaustive]pub struct ListResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListResourcesInput
.
Implementations§
source§impl ListResourcesInputBuilder
impl ListResourcesInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier for the organization under which the resources exist.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier for the organization under which the resources exist.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The identifier for the organization under which the resources exist.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. The first call does not contain any tokens.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. The first call does not contain any tokens.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. The first call does not contain any tokens.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call.
sourcepub fn build(self) -> Result<ListResourcesInput, BuildError>
pub fn build(self) -> Result<ListResourcesInput, BuildError>
Consumes the builder and constructs a ListResourcesInput
.
source§impl ListResourcesInputBuilder
impl ListResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResourcesOutput, SdkError<ListResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResourcesOutput, SdkError<ListResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListResourcesInputBuilder
impl Clone for ListResourcesInputBuilder
source§fn clone(&self) -> ListResourcesInputBuilder
fn clone(&self) -> ListResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListResourcesInputBuilder
impl Debug for ListResourcesInputBuilder
source§impl Default for ListResourcesInputBuilder
impl Default for ListResourcesInputBuilder
source§fn default() -> ListResourcesInputBuilder
fn default() -> ListResourcesInputBuilder
source§impl PartialEq<ListResourcesInputBuilder> for ListResourcesInputBuilder
impl PartialEq<ListResourcesInputBuilder> for ListResourcesInputBuilder
source§fn eq(&self, other: &ListResourcesInputBuilder) -> bool
fn eq(&self, other: &ListResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.