Struct aws_sdk_ssm::operation::update_document_metadata::builders::UpdateDocumentMetadataInputBuilder
source · #[non_exhaustive]pub struct UpdateDocumentMetadataInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDocumentMetadataInput
.
Implementations§
source§impl UpdateDocumentMetadataInputBuilder
impl UpdateDocumentMetadataInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the change template for which a version's metadata is to be updated.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the change template for which a version's metadata is to be updated.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the change template for which a version's metadata is to be updated.
sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The version of a change template in which to update approval metadata.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The version of a change template in which to update approval metadata.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The version of a change template in which to update approval metadata.
sourcepub fn document_reviews(self, input: DocumentReviews) -> Self
pub fn document_reviews(self, input: DocumentReviews) -> Self
The change template review details to update.
This field is required.sourcepub fn set_document_reviews(self, input: Option<DocumentReviews>) -> Self
pub fn set_document_reviews(self, input: Option<DocumentReviews>) -> Self
The change template review details to update.
sourcepub fn get_document_reviews(&self) -> &Option<DocumentReviews>
pub fn get_document_reviews(&self) -> &Option<DocumentReviews>
The change template review details to update.
sourcepub fn build(self) -> Result<UpdateDocumentMetadataInput, BuildError>
pub fn build(self) -> Result<UpdateDocumentMetadataInput, BuildError>
Consumes the builder and constructs a UpdateDocumentMetadataInput
.
source§impl UpdateDocumentMetadataInputBuilder
impl UpdateDocumentMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDocumentMetadataOutput, SdkError<UpdateDocumentMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDocumentMetadataOutput, SdkError<UpdateDocumentMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDocumentMetadataInputBuilder
impl Clone for UpdateDocumentMetadataInputBuilder
source§fn clone(&self) -> UpdateDocumentMetadataInputBuilder
fn clone(&self) -> UpdateDocumentMetadataInputBuilder
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 UpdateDocumentMetadataInputBuilder
impl Default for UpdateDocumentMetadataInputBuilder
source§fn default() -> UpdateDocumentMetadataInputBuilder
fn default() -> UpdateDocumentMetadataInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDocumentMetadataInputBuilder
impl PartialEq for UpdateDocumentMetadataInputBuilder
source§fn eq(&self, other: &UpdateDocumentMetadataInputBuilder) -> bool
fn eq(&self, other: &UpdateDocumentMetadataInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDocumentMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDocumentMetadataInputBuilder
impl RefUnwindSafe for UpdateDocumentMetadataInputBuilder
impl Send for UpdateDocumentMetadataInputBuilder
impl Sync for UpdateDocumentMetadataInputBuilder
impl Unpin for UpdateDocumentMetadataInputBuilder
impl UnwindSafe for UpdateDocumentMetadataInputBuilder
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.