Struct aws_sdk_apigatewayv2::operation::delete_route_settings::builders::DeleteRouteSettingsInputBuilder
source · #[non_exhaustive]pub struct DeleteRouteSettingsInputBuilder { /* private fields */ }
Expand description
A builder for DeleteRouteSettingsInput
.
Implementations§
source§impl DeleteRouteSettingsInputBuilder
impl DeleteRouteSettingsInputBuilder
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 route_key(self, input: impl Into<String>) -> Self
pub fn route_key(self, input: impl Into<String>) -> Self
The route key.
This field is required.sourcepub fn set_route_key(self, input: Option<String>) -> Self
pub fn set_route_key(self, input: Option<String>) -> Self
The route key.
sourcepub fn get_route_key(&self) -> &Option<String>
pub fn get_route_key(&self) -> &Option<String>
The route key.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
This field is required.sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
sourcepub fn build(self) -> Result<DeleteRouteSettingsInput, BuildError>
pub fn build(self) -> Result<DeleteRouteSettingsInput, BuildError>
Consumes the builder and constructs a DeleteRouteSettingsInput
.
source§impl DeleteRouteSettingsInputBuilder
impl DeleteRouteSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteRouteSettingsOutput, SdkError<DeleteRouteSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteRouteSettingsOutput, SdkError<DeleteRouteSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteRouteSettingsInputBuilder
impl Clone for DeleteRouteSettingsInputBuilder
source§fn clone(&self) -> DeleteRouteSettingsInputBuilder
fn clone(&self) -> DeleteRouteSettingsInputBuilder
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 Default for DeleteRouteSettingsInputBuilder
impl Default for DeleteRouteSettingsInputBuilder
source§fn default() -> DeleteRouteSettingsInputBuilder
fn default() -> DeleteRouteSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteRouteSettingsInputBuilder
impl PartialEq for DeleteRouteSettingsInputBuilder
source§fn eq(&self, other: &DeleteRouteSettingsInputBuilder) -> bool
fn eq(&self, other: &DeleteRouteSettingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteRouteSettingsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteRouteSettingsInputBuilder
impl Send for DeleteRouteSettingsInputBuilder
impl Sync for DeleteRouteSettingsInputBuilder
impl Unpin for DeleteRouteSettingsInputBuilder
impl UnwindSafe for DeleteRouteSettingsInputBuilder
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.