#[non_exhaustive]pub struct ListResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListResourcesInput
.
Implementations§
source§impl ListResourcesInputBuilder
impl ListResourcesInputBuilder
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the project.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The continuation token for the next set of results, if the results cannot be returned in one response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The continuation token for the next set of results, if the results cannot be returned in one response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The continuation token for the next set of results, if the results cannot be returned in one response.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum amount of data that can be contained in a single set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum amount of data that can be contained in a single set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum amount of data that can be contained in a single set of results.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<ListResourcesInputBuilder> for ListResourcesInputBuilder
impl PartialEq<ListResourcesInputBuilder> for ListResourcesInputBuilder
source§fn eq(&self, other: &ListResourcesInputBuilder) -> bool
fn eq(&self, other: &ListResourcesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourcesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListResourcesInputBuilder
impl Send for ListResourcesInputBuilder
impl Sync for ListResourcesInputBuilder
impl Unpin for ListResourcesInputBuilder
impl UnwindSafe for ListResourcesInputBuilder
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
Mutably borrows from an owned value. Read more