Struct aws_sdk_ssm::operation::list_document_metadata_history::builders::ListDocumentMetadataHistoryInputBuilder
source · #[non_exhaustive]pub struct ListDocumentMetadataHistoryInputBuilder { /* private fields */ }
Expand description
A builder for ListDocumentMetadataHistoryInput
.
Implementations§
source§impl ListDocumentMetadataHistoryInputBuilder
impl ListDocumentMetadataHistoryInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the change template.
This field is required.sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The version of the change template.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The version of the change template.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The version of the change template.
sourcepub fn metadata(self, input: DocumentMetadataEnum) -> Self
pub fn metadata(self, input: DocumentMetadataEnum) -> Self
The type of data for which details are being requested. Currently, the only supported value is DocumentReviews
.
sourcepub fn set_metadata(self, input: Option<DocumentMetadataEnum>) -> Self
pub fn set_metadata(self, input: Option<DocumentMetadataEnum>) -> Self
The type of data for which details are being requested. Currently, the only supported value is DocumentReviews
.
sourcepub fn get_metadata(&self) -> &Option<DocumentMetadataEnum>
pub fn get_metadata(&self) -> &Option<DocumentMetadataEnum>
The type of data for which details are being requested. Currently, the only supported value is DocumentReviews
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn build(self) -> Result<ListDocumentMetadataHistoryInput, BuildError>
pub fn build(self) -> Result<ListDocumentMetadataHistoryInput, BuildError>
Consumes the builder and constructs a ListDocumentMetadataHistoryInput
.
source§impl ListDocumentMetadataHistoryInputBuilder
impl ListDocumentMetadataHistoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDocumentMetadataHistoryOutput, SdkError<ListDocumentMetadataHistoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDocumentMetadataHistoryOutput, SdkError<ListDocumentMetadataHistoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDocumentMetadataHistoryInputBuilder
impl Clone for ListDocumentMetadataHistoryInputBuilder
source§fn clone(&self) -> ListDocumentMetadataHistoryInputBuilder
fn clone(&self) -> ListDocumentMetadataHistoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListDocumentMetadataHistoryInputBuilder
impl Default for ListDocumentMetadataHistoryInputBuilder
source§fn default() -> ListDocumentMetadataHistoryInputBuilder
fn default() -> ListDocumentMetadataHistoryInputBuilder
source§impl PartialEq for ListDocumentMetadataHistoryInputBuilder
impl PartialEq for ListDocumentMetadataHistoryInputBuilder
source§fn eq(&self, other: &ListDocumentMetadataHistoryInputBuilder) -> bool
fn eq(&self, other: &ListDocumentMetadataHistoryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDocumentMetadataHistoryInputBuilder
Auto Trait Implementations§
impl Freeze for ListDocumentMetadataHistoryInputBuilder
impl RefUnwindSafe for ListDocumentMetadataHistoryInputBuilder
impl Send for ListDocumentMetadataHistoryInputBuilder
impl Sync for ListDocumentMetadataHistoryInputBuilder
impl Unpin for ListDocumentMetadataHistoryInputBuilder
impl UnwindSafe for ListDocumentMetadataHistoryInputBuilder
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