Struct aws_sdk_apigateway::operation::create_documentation_version::builders::CreateDocumentationVersionInputBuilder
source · #[non_exhaustive]pub struct CreateDocumentationVersionInputBuilder { /* private fields */ }Expand description
A builder for CreateDocumentationVersionInput.
Implementations§
source§impl CreateDocumentationVersionInputBuilder
impl CreateDocumentationVersionInputBuilder
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.
This field is required.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 documentation_version(self, input: impl Into<String>) -> Self
pub fn documentation_version(self, input: impl Into<String>) -> Self
The version identifier of the new snapshot.
This field is required.sourcepub fn set_documentation_version(self, input: Option<String>) -> Self
pub fn set_documentation_version(self, input: Option<String>) -> Self
The version identifier of the new snapshot.
sourcepub fn get_documentation_version(&self) -> &Option<String>
pub fn get_documentation_version(&self) -> &Option<String>
The version identifier of the new snapshot.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The stage name to be associated with the new documentation snapshot.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The stage name to be associated with the new documentation snapshot.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The stage name to be associated with the new documentation snapshot.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description about the new documentation snapshot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description about the new documentation snapshot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description about the new documentation snapshot.
sourcepub fn build(self) -> Result<CreateDocumentationVersionInput, BuildError>
pub fn build(self) -> Result<CreateDocumentationVersionInput, BuildError>
Consumes the builder and constructs a CreateDocumentationVersionInput.
source§impl CreateDocumentationVersionInputBuilder
impl CreateDocumentationVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateDocumentationVersionOutput, SdkError<CreateDocumentationVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateDocumentationVersionOutput, SdkError<CreateDocumentationVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDocumentationVersionInputBuilder
impl Clone for CreateDocumentationVersionInputBuilder
source§fn clone(&self) -> CreateDocumentationVersionInputBuilder
fn clone(&self) -> CreateDocumentationVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDocumentationVersionInputBuilder
impl Default for CreateDocumentationVersionInputBuilder
source§fn default() -> CreateDocumentationVersionInputBuilder
fn default() -> CreateDocumentationVersionInputBuilder
source§impl PartialEq for CreateDocumentationVersionInputBuilder
impl PartialEq for CreateDocumentationVersionInputBuilder
source§fn eq(&self, other: &CreateDocumentationVersionInputBuilder) -> bool
fn eq(&self, other: &CreateDocumentationVersionInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDocumentationVersionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDocumentationVersionInputBuilder
impl RefUnwindSafe for CreateDocumentationVersionInputBuilder
impl Send for CreateDocumentationVersionInputBuilder
impl Sync for CreateDocumentationVersionInputBuilder
impl Unpin for CreateDocumentationVersionInputBuilder
impl UnwindSafe for CreateDocumentationVersionInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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