#[non_exhaustive]pub struct ListCapacityReservationsInputBuilder { /* private fields */ }Expand description
A builder for ListCapacityReservationsInput.
Implementations§
Source§impl ListCapacityReservationsInputBuilder
impl ListCapacityReservationsInputBuilder
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
Sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Specifies the maximum number of results to return.
Sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Specifies the maximum number of results to return.
Sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Specifies the maximum number of results to return.
Sourcepub fn build(self) -> Result<ListCapacityReservationsInput, BuildError>
pub fn build(self) -> Result<ListCapacityReservationsInput, BuildError>
Consumes the builder and constructs a ListCapacityReservationsInput.
Source§impl ListCapacityReservationsInputBuilder
impl ListCapacityReservationsInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListCapacityReservationsOutput, SdkError<ListCapacityReservationsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListCapacityReservationsOutput, SdkError<ListCapacityReservationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for ListCapacityReservationsInputBuilder
impl Clone for ListCapacityReservationsInputBuilder
Source§fn clone(&self) -> ListCapacityReservationsInputBuilder
fn clone(&self) -> ListCapacityReservationsInputBuilder
Returns a duplicate 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 Default for ListCapacityReservationsInputBuilder
impl Default for ListCapacityReservationsInputBuilder
Source§fn default() -> ListCapacityReservationsInputBuilder
fn default() -> ListCapacityReservationsInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListCapacityReservationsInputBuilder
impl PartialEq for ListCapacityReservationsInputBuilder
Source§fn eq(&self, other: &ListCapacityReservationsInputBuilder) -> bool
fn eq(&self, other: &ListCapacityReservationsInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListCapacityReservationsInputBuilder
Auto Trait Implementations§
impl Freeze for ListCapacityReservationsInputBuilder
impl RefUnwindSafe for ListCapacityReservationsInputBuilder
impl Send for ListCapacityReservationsInputBuilder
impl Sync for ListCapacityReservationsInputBuilder
impl Unpin for ListCapacityReservationsInputBuilder
impl UnsafeUnpin for ListCapacityReservationsInputBuilder
impl UnwindSafe for ListCapacityReservationsInputBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.