Struct aws_sdk_apigatewayv2::operation::get_route_responses::builders::GetRouteResponsesFluentBuilder
source · pub struct GetRouteResponsesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRouteResponses
.
Gets the RouteResponses for a Route.
Implementations§
source§impl GetRouteResponsesFluentBuilder
impl GetRouteResponsesFluentBuilder
sourcepub fn as_input(&self) -> &GetRouteResponsesInputBuilder
pub fn as_input(&self) -> &GetRouteResponsesInputBuilder
Access the GetRouteResponses as a reference.
sourcepub async fn send(
self
) -> Result<GetRouteResponsesOutput, SdkError<GetRouteResponsesError, HttpResponse>>
pub async fn send( self ) -> Result<GetRouteResponsesOutput, SdkError<GetRouteResponsesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetRouteResponsesOutput, GetRouteResponsesError, Self>
pub fn customize( self ) -> CustomizableOperation<GetRouteResponsesOutput, GetRouteResponsesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 max_results(self, input: impl Into<String>) -> Self
pub fn max_results(self, input: impl Into<String>) -> Self
The maximum number of elements to be returned for this resource.
sourcepub fn set_max_results(self, input: Option<String>) -> Self
pub fn set_max_results(self, input: Option<String>) -> Self
The maximum number of elements to be returned for this resource.
sourcepub fn get_max_results(&self) -> &Option<String>
pub fn get_max_results(&self) -> &Option<String>
The maximum number of elements to be returned for this resource.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn set_route_id(self, input: Option<String>) -> Self
pub fn set_route_id(self, input: Option<String>) -> Self
The route ID.
sourcepub fn get_route_id(&self) -> &Option<String>
pub fn get_route_id(&self) -> &Option<String>
The route ID.
Trait Implementations§
source§impl Clone for GetRouteResponsesFluentBuilder
impl Clone for GetRouteResponsesFluentBuilder
source§fn clone(&self) -> GetRouteResponsesFluentBuilder
fn clone(&self) -> GetRouteResponsesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more