#[non_exhaustive]pub struct UpdateGatewayInputBuilder { /* private fields */ }Expand description
A builder for UpdateGatewayInput.
Implementations§
source§impl UpdateGatewayInputBuilder
impl UpdateGatewayInputBuilder
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the gateway to update.
This field is required.sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the gateway to update.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the gateway to update.
sourcepub fn gateway_name(self, input: impl Into<String>) -> Self
pub fn gateway_name(self, input: impl Into<String>) -> Self
A unique, friendly name for the gateway.
This field is required.sourcepub fn set_gateway_name(self, input: Option<String>) -> Self
pub fn set_gateway_name(self, input: Option<String>) -> Self
A unique, friendly name for the gateway.
sourcepub fn get_gateway_name(&self) -> &Option<String>
pub fn get_gateway_name(&self) -> &Option<String>
A unique, friendly name for the gateway.
sourcepub fn build(self) -> Result<UpdateGatewayInput, BuildError>
pub fn build(self) -> Result<UpdateGatewayInput, BuildError>
Consumes the builder and constructs a UpdateGatewayInput.
source§impl UpdateGatewayInputBuilder
impl UpdateGatewayInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateGatewayOutput, SdkError<UpdateGatewayError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateGatewayOutput, SdkError<UpdateGatewayError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGatewayInputBuilder
impl Clone for UpdateGatewayInputBuilder
source§fn clone(&self) -> UpdateGatewayInputBuilder
fn clone(&self) -> UpdateGatewayInputBuilder
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 UpdateGatewayInputBuilder
impl Debug for UpdateGatewayInputBuilder
source§impl Default for UpdateGatewayInputBuilder
impl Default for UpdateGatewayInputBuilder
source§fn default() -> UpdateGatewayInputBuilder
fn default() -> UpdateGatewayInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateGatewayInputBuilder
impl PartialEq for UpdateGatewayInputBuilder
source§fn eq(&self, other: &UpdateGatewayInputBuilder) -> bool
fn eq(&self, other: &UpdateGatewayInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateGatewayInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateGatewayInputBuilder
impl Send for UpdateGatewayInputBuilder
impl Sync for UpdateGatewayInputBuilder
impl Unpin for UpdateGatewayInputBuilder
impl UnwindSafe for UpdateGatewayInputBuilder
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>
Creates a shared type from an unshared type.