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 ==.impl StructuralPartialEq for UpdateDocumentationPartOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDocumentationPartOutputBuilder
impl RefUnwindSafe for UpdateDocumentationPartOutputBuilder
impl Send for UpdateDocumentationPartOutputBuilder
impl Sync for UpdateDocumentationPartOutputBuilder
impl Unpin for UpdateDocumentationPartOutputBuilder
impl UnwindSafe for UpdateDocumentationPartOutputBuilder
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> 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