Struct aws_sdk_apigateway::operation::update_documentation_part::builders::UpdateDocumentationPartOutputBuilder    
source · #[non_exhaustive]pub struct UpdateDocumentationPartOutputBuilder { /* private fields */ }Expand description
A builder for UpdateDocumentationPartOutput.
Implementations§
source§impl UpdateDocumentationPartOutputBuilder
 
impl UpdateDocumentationPartOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
 
pub fn id(self, input: impl Into<String>) -> Self
The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.
sourcepub fn set_id(self, input: Option<String>) -> Self
 
pub fn set_id(self, input: Option<String>) -> Self
The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.
sourcepub fn get_id(&self) -> &Option<String>
 
pub fn get_id(&self) -> &Option<String>
The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.
sourcepub fn location(self, input: DocumentationPartLocation) -> Self
 
pub fn location(self, input: DocumentationPartLocation) -> Self
The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
sourcepub fn set_location(self, input: Option<DocumentationPartLocation>) -> Self
 
pub fn set_location(self, input: Option<DocumentationPartLocation>) -> Self
The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
sourcepub fn get_location(&self) -> &Option<DocumentationPartLocation>
 
pub fn get_location(&self) -> &Option<DocumentationPartLocation>
The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
sourcepub fn properties(self, input: impl Into<String>) -> Self
 
pub fn properties(self, input: impl Into<String>) -> Self
A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.
sourcepub fn set_properties(self, input: Option<String>) -> Self
 
pub fn set_properties(self, input: Option<String>) -> Self
A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.
sourcepub fn get_properties(&self) -> &Option<String>
 
pub fn get_properties(&self) -> &Option<String>
A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.
sourcepub fn build(self) -> UpdateDocumentationPartOutput
 
pub fn build(self) -> UpdateDocumentationPartOutput
Consumes the builder and constructs a UpdateDocumentationPartOutput.
Trait Implementations§
source§impl Clone for UpdateDocumentationPartOutputBuilder
 
impl Clone for UpdateDocumentationPartOutputBuilder
source§fn clone(&self) -> UpdateDocumentationPartOutputBuilder
 
fn clone(&self) -> UpdateDocumentationPartOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateDocumentationPartOutputBuilder
 
impl Default for UpdateDocumentationPartOutputBuilder
source§fn default() -> UpdateDocumentationPartOutputBuilder
 
fn default() -> UpdateDocumentationPartOutputBuilder
source§impl PartialEq for UpdateDocumentationPartOutputBuilder
 
impl PartialEq for UpdateDocumentationPartOutputBuilder
source§fn eq(&self, other: &UpdateDocumentationPartOutputBuilder) -> bool
 
fn eq(&self, other: &UpdateDocumentationPartOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.