Struct aws_sdk_apigatewaymanagement::operation::post_to_connection::builders::PostToConnectionInputBuilder
source · #[non_exhaustive]pub struct PostToConnectionInputBuilder { /* private fields */ }Expand description
A builder for PostToConnectionInput.
Implementations§
source§impl PostToConnectionInputBuilder
impl PostToConnectionInputBuilder
sourcepub fn data(self, input: Blob) -> Self
pub fn data(self, input: Blob) -> Self
The data to be sent to the client specified by its connection id.
sourcepub fn set_data(self, input: Option<Blob>) -> Self
pub fn set_data(self, input: Option<Blob>) -> Self
The data to be sent to the client specified by its connection id.
sourcepub fn get_data(&self) -> &Option<Blob>
pub fn get_data(&self) -> &Option<Blob>
The data to be sent to the client specified by its connection id.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The identifier of the connection that a specific client is using.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The identifier of the connection that a specific client is using.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The identifier of the connection that a specific client is using.
sourcepub fn build(self) -> Result<PostToConnectionInput, BuildError>
pub fn build(self) -> Result<PostToConnectionInput, BuildError>
Consumes the builder and constructs a PostToConnectionInput.
source§impl PostToConnectionInputBuilder
impl PostToConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PostToConnectionOutput, SdkError<PostToConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PostToConnectionOutput, SdkError<PostToConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PostToConnectionInputBuilder
impl Clone for PostToConnectionInputBuilder
source§fn clone(&self) -> PostToConnectionInputBuilder
fn clone(&self) -> PostToConnectionInputBuilder
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 PostToConnectionInputBuilder
impl Debug for PostToConnectionInputBuilder
source§impl Default for PostToConnectionInputBuilder
impl Default for PostToConnectionInputBuilder
source§fn default() -> PostToConnectionInputBuilder
fn default() -> PostToConnectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PostToConnectionInputBuilder> for PostToConnectionInputBuilder
impl PartialEq<PostToConnectionInputBuilder> for PostToConnectionInputBuilder
source§fn eq(&self, other: &PostToConnectionInputBuilder) -> bool
fn eq(&self, other: &PostToConnectionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PostToConnectionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PostToConnectionInputBuilder
impl Send for PostToConnectionInputBuilder
impl Sync for PostToConnectionInputBuilder
impl Unpin for PostToConnectionInputBuilder
impl UnwindSafe for PostToConnectionInputBuilder
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