Struct aws_sdk_apigateway::operation::delete_documentation_part::builders::DeleteDocumentationPartInputBuilder
source · #[non_exhaustive]pub struct DeleteDocumentationPartInputBuilder { /* private fields */ }Expand description
A builder for DeleteDocumentationPartInput.
Implementations§
source§impl DeleteDocumentationPartInputBuilder
impl DeleteDocumentationPartInputBuilder
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_part_id(self, input: impl Into<String>) -> Self
pub fn documentation_part_id(self, input: impl Into<String>) -> Self
The identifier of the to-be-deleted documentation part.
This field is required.sourcepub fn set_documentation_part_id(self, input: Option<String>) -> Self
pub fn set_documentation_part_id(self, input: Option<String>) -> Self
The identifier of the to-be-deleted documentation part.
sourcepub fn get_documentation_part_id(&self) -> &Option<String>
pub fn get_documentation_part_id(&self) -> &Option<String>
The identifier of the to-be-deleted documentation part.
sourcepub fn build(self) -> Result<DeleteDocumentationPartInput, BuildError>
pub fn build(self) -> Result<DeleteDocumentationPartInput, BuildError>
Consumes the builder and constructs a DeleteDocumentationPartInput.
source§impl DeleteDocumentationPartInputBuilder
impl DeleteDocumentationPartInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDocumentationPartOutput, SdkError<DeleteDocumentationPartError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDocumentationPartOutput, SdkError<DeleteDocumentationPartError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDocumentationPartInputBuilder
impl Clone for DeleteDocumentationPartInputBuilder
source§fn clone(&self) -> DeleteDocumentationPartInputBuilder
fn clone(&self) -> DeleteDocumentationPartInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteDocumentationPartInputBuilder
impl Default for DeleteDocumentationPartInputBuilder
source§fn default() -> DeleteDocumentationPartInputBuilder
fn default() -> DeleteDocumentationPartInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteDocumentationPartInputBuilder
impl PartialEq for DeleteDocumentationPartInputBuilder
source§fn eq(&self, other: &DeleteDocumentationPartInputBuilder) -> bool
fn eq(&self, other: &DeleteDocumentationPartInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteDocumentationPartInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteDocumentationPartInputBuilder
impl Send for DeleteDocumentationPartInputBuilder
impl Sync for DeleteDocumentationPartInputBuilder
impl Unpin for DeleteDocumentationPartInputBuilder
impl UnwindSafe for DeleteDocumentationPartInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.