Struct aws_sdk_apigateway::operation::create_documentation_part::builders::CreateDocumentationPartInputBuilder
source · #[non_exhaustive]pub struct CreateDocumentationPartInputBuilder { /* private fields */ }
Expand description
A builder for CreateDocumentationPartInput
.
Implementations§
source§impl CreateDocumentationPartInputBuilder
impl CreateDocumentationPartInputBuilder
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 location(self, input: DocumentationPartLocation) -> Self
pub fn location(self, input: DocumentationPartLocation) -> Self
The location of the targeted API entity of the to-be-created documentation part.
sourcepub fn set_location(self, input: Option<DocumentationPartLocation>) -> Self
pub fn set_location(self, input: Option<DocumentationPartLocation>) -> Self
The location of the targeted API entity of the to-be-created documentation part.
sourcepub fn get_location(&self) -> &Option<DocumentationPartLocation>
pub fn get_location(&self) -> &Option<DocumentationPartLocation>
The location of the targeted API entity of the to-be-created documentation part.
sourcepub fn properties(self, input: impl Into<String>) -> Self
pub fn properties(self, input: impl Into<String>) -> Self
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
sourcepub fn set_properties(self, input: Option<String>) -> Self
pub fn set_properties(self, input: Option<String>) -> Self
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
sourcepub fn get_properties(&self) -> &Option<String>
pub fn get_properties(&self) -> &Option<String>
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
sourcepub fn build(self) -> Result<CreateDocumentationPartInput, BuildError>
pub fn build(self) -> Result<CreateDocumentationPartInput, BuildError>
Consumes the builder and constructs a CreateDocumentationPartInput
.
source§impl CreateDocumentationPartInputBuilder
impl CreateDocumentationPartInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDocumentationPartOutput, SdkError<CreateDocumentationPartError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDocumentationPartOutput, SdkError<CreateDocumentationPartError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDocumentationPartInputBuilder
impl Clone for CreateDocumentationPartInputBuilder
source§fn clone(&self) -> CreateDocumentationPartInputBuilder
fn clone(&self) -> CreateDocumentationPartInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDocumentationPartInputBuilder
impl Default for CreateDocumentationPartInputBuilder
source§fn default() -> CreateDocumentationPartInputBuilder
fn default() -> CreateDocumentationPartInputBuilder
source§impl PartialEq<CreateDocumentationPartInputBuilder> for CreateDocumentationPartInputBuilder
impl PartialEq<CreateDocumentationPartInputBuilder> for CreateDocumentationPartInputBuilder
source§fn eq(&self, other: &CreateDocumentationPartInputBuilder) -> bool
fn eq(&self, other: &CreateDocumentationPartInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.