Struct aws_sdk_apigatewayv2::operation::get_api::builders::GetApiInputBuilder
source · #[non_exhaustive]pub struct GetApiInputBuilder { /* private fields */ }
Expand description
A builder for GetApiInput
.
Implementations§
source§impl GetApiInputBuilder
impl GetApiInputBuilder
sourcepub fn api_id(self, input: impl Into<String>) -> Self
pub fn api_id(self, input: impl Into<String>) -> Self
The API identifier.
This field is required.sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API identifier.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API identifier.
sourcepub fn build(self) -> Result<GetApiInput, BuildError>
pub fn build(self) -> Result<GetApiInput, BuildError>
Consumes the builder and constructs a GetApiInput
.
source§impl GetApiInputBuilder
impl GetApiInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetApiOutput, SdkError<GetApiError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetApiOutput, SdkError<GetApiError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetApiInputBuilder
impl Clone for GetApiInputBuilder
source§fn clone(&self) -> GetApiInputBuilder
fn clone(&self) -> GetApiInputBuilder
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 GetApiInputBuilder
impl Debug for GetApiInputBuilder
source§impl Default for GetApiInputBuilder
impl Default for GetApiInputBuilder
source§fn default() -> GetApiInputBuilder
fn default() -> GetApiInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetApiInputBuilder
impl PartialEq for GetApiInputBuilder
source§fn eq(&self, other: &GetApiInputBuilder) -> bool
fn eq(&self, other: &GetApiInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetApiInputBuilder
Auto Trait Implementations§
impl Freeze for GetApiInputBuilder
impl RefUnwindSafe for GetApiInputBuilder
impl Send for GetApiInputBuilder
impl Sync for GetApiInputBuilder
impl Unpin for GetApiInputBuilder
impl UnwindSafe for GetApiInputBuilder
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.