Struct aws_sdk_apigateway::operation::get_documentation_versions::builders::GetDocumentationVersionsInputBuilder
source · #[non_exhaustive]pub struct GetDocumentationVersionsInputBuilder { /* private fields */ }Expand description
A builder for GetDocumentationVersionsInput.
Implementations§
source§impl GetDocumentationVersionsInputBuilder
impl GetDocumentationVersionsInputBuilder
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 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 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 build(self) -> Result<GetDocumentationVersionsInput, BuildError>
pub fn build(self) -> Result<GetDocumentationVersionsInput, BuildError>
Consumes the builder and constructs a GetDocumentationVersionsInput.
Trait Implementations§
source§impl Clone for GetDocumentationVersionsInputBuilder
impl Clone for GetDocumentationVersionsInputBuilder
source§fn clone(&self) -> GetDocumentationVersionsInputBuilder
fn clone(&self) -> GetDocumentationVersionsInputBuilder
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 GetDocumentationVersionsInputBuilder
impl Default for GetDocumentationVersionsInputBuilder
source§fn default() -> GetDocumentationVersionsInputBuilder
fn default() -> GetDocumentationVersionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetDocumentationVersionsInputBuilder> for GetDocumentationVersionsInputBuilder
impl PartialEq<GetDocumentationVersionsInputBuilder> for GetDocumentationVersionsInputBuilder
source§fn eq(&self, other: &GetDocumentationVersionsInputBuilder) -> bool
fn eq(&self, other: &GetDocumentationVersionsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetDocumentationVersionsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetDocumentationVersionsInputBuilder
impl Send for GetDocumentationVersionsInputBuilder
impl Sync for GetDocumentationVersionsInputBuilder
impl Unpin for GetDocumentationVersionsInputBuilder
impl UnwindSafe for GetDocumentationVersionsInputBuilder
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