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