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.
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.
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<CreateDocumentationVersionInputBuilder> for CreateDocumentationVersionInputBuilder
impl PartialEq<CreateDocumentationVersionInputBuilder> 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 ==
.