Struct aws_sdk_apigateway::operation::get_documentation_parts::builders::GetDocumentationPartsFluentBuilder
source · pub struct GetDocumentationPartsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDocumentationParts
.
Gets documentation parts.
Implementations§
source§impl GetDocumentationPartsFluentBuilder
impl GetDocumentationPartsFluentBuilder
sourcepub fn as_input(&self) -> &GetDocumentationPartsInputBuilder
pub fn as_input(&self) -> &GetDocumentationPartsInputBuilder
Access the GetDocumentationParts as a reference.
sourcepub async fn send(
self
) -> Result<GetDocumentationPartsOutput, SdkError<GetDocumentationPartsError, HttpResponse>>
pub async fn send( self ) -> Result<GetDocumentationPartsOutput, SdkError<GetDocumentationPartsError, 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<GetDocumentationPartsOutput, GetDocumentationPartsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetDocumentationPartsOutput, GetDocumentationPartsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn type(self, input: DocumentationPartType) -> Self
pub fn type(self, input: DocumentationPartType) -> Self
The type of API entities of the to-be-retrieved documentation parts.
sourcepub fn set_type(self, input: Option<DocumentationPartType>) -> Self
pub fn set_type(self, input: Option<DocumentationPartType>) -> Self
The type of API entities of the to-be-retrieved documentation parts.
sourcepub fn get_type(&self) -> &Option<DocumentationPartType>
pub fn get_type(&self) -> &Option<DocumentationPartType>
The type of API entities of the to-be-retrieved documentation parts.
sourcepub fn name_query(self, input: impl Into<String>) -> Self
pub fn name_query(self, input: impl Into<String>) -> Self
The name of API entities of the to-be-retrieved documentation parts.
sourcepub fn set_name_query(self, input: Option<String>) -> Self
pub fn set_name_query(self, input: Option<String>) -> Self
The name of API entities of the to-be-retrieved documentation parts.
sourcepub fn get_name_query(&self) -> &Option<String>
pub fn get_name_query(&self) -> &Option<String>
The name of API entities of the to-be-retrieved documentation parts.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path of API entities of the to-be-retrieved documentation parts.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path of API entities of the to-be-retrieved documentation parts.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path of API entities of the to-be-retrieved documentation parts.
sourcepub fn position(self, input: impl Into<String>) -> Self
pub fn position(self, input: impl Into<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn set_position(self, input: Option<String>) -> Self
pub fn set_position(self, input: Option<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn get_position(&self) -> &Option<String>
pub fn get_position(&self) -> &Option<String>
The current pagination position in the paged result set.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn location_status(self, input: LocationStatusType) -> Self
pub fn location_status(self, input: LocationStatusType) -> Self
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without content.
sourcepub fn set_location_status(self, input: Option<LocationStatusType>) -> Self
pub fn set_location_status(self, input: Option<LocationStatusType>) -> Self
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without content.
sourcepub fn get_location_status(&self) -> &Option<LocationStatusType>
pub fn get_location_status(&self) -> &Option<LocationStatusType>
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without content.
Trait Implementations§
source§impl Clone for GetDocumentationPartsFluentBuilder
impl Clone for GetDocumentationPartsFluentBuilder
source§fn clone(&self) -> GetDocumentationPartsFluentBuilder
fn clone(&self) -> GetDocumentationPartsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetDocumentationPartsFluentBuilder
impl !RefUnwindSafe for GetDocumentationPartsFluentBuilder
impl Send for GetDocumentationPartsFluentBuilder
impl Sync for GetDocumentationPartsFluentBuilder
impl Unpin for GetDocumentationPartsFluentBuilder
impl !UnwindSafe for GetDocumentationPartsFluentBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more