#[non_exhaustive]pub struct GetSamplingRulesInputBuilder { /* private fields */ }
Expand description
A builder for GetSamplingRulesInput
.
Implementations§
source§impl GetSamplingRulesInputBuilder
impl GetSamplingRulesInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token.
sourcepub fn build(self) -> Result<GetSamplingRulesInput, BuildError>
pub fn build(self) -> Result<GetSamplingRulesInput, BuildError>
Consumes the builder and constructs a GetSamplingRulesInput
.
source§impl GetSamplingRulesInputBuilder
impl GetSamplingRulesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSamplingRulesOutput, SdkError<GetSamplingRulesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSamplingRulesOutput, SdkError<GetSamplingRulesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSamplingRulesInputBuilder
impl Clone for GetSamplingRulesInputBuilder
source§fn clone(&self) -> GetSamplingRulesInputBuilder
fn clone(&self) -> GetSamplingRulesInputBuilder
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 GetSamplingRulesInputBuilder
impl Debug for GetSamplingRulesInputBuilder
source§impl Default for GetSamplingRulesInputBuilder
impl Default for GetSamplingRulesInputBuilder
source§fn default() -> GetSamplingRulesInputBuilder
fn default() -> GetSamplingRulesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSamplingRulesInputBuilder
impl PartialEq for GetSamplingRulesInputBuilder
source§fn eq(&self, other: &GetSamplingRulesInputBuilder) -> bool
fn eq(&self, other: &GetSamplingRulesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSamplingRulesInputBuilder
Auto Trait Implementations§
impl Freeze for GetSamplingRulesInputBuilder
impl RefUnwindSafe for GetSamplingRulesInputBuilder
impl Send for GetSamplingRulesInputBuilder
impl Sync for GetSamplingRulesInputBuilder
impl Unpin for GetSamplingRulesInputBuilder
impl UnwindSafe for GetSamplingRulesInputBuilder
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> 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.