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