Struct aws_sdk_ssm::operation::list_document_versions::builders::ListDocumentVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListDocumentVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDocumentVersionsOutput
.
Implementations§
source§impl ListDocumentVersionsOutputBuilder
impl ListDocumentVersionsOutputBuilder
sourcepub fn document_versions(self, input: DocumentVersionInfo) -> Self
pub fn document_versions(self, input: DocumentVersionInfo) -> Self
Appends an item to document_versions
.
To override the contents of this collection use set_document_versions
.
The document versions.
sourcepub fn set_document_versions(
self,
input: Option<Vec<DocumentVersionInfo>>
) -> Self
pub fn set_document_versions( self, input: Option<Vec<DocumentVersionInfo>> ) -> Self
The document versions.
sourcepub fn get_document_versions(&self) -> &Option<Vec<DocumentVersionInfo>>
pub fn get_document_versions(&self) -> &Option<Vec<DocumentVersionInfo>>
The document versions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
sourcepub fn build(self) -> ListDocumentVersionsOutput
pub fn build(self) -> ListDocumentVersionsOutput
Consumes the builder and constructs a ListDocumentVersionsOutput
.
Trait Implementations§
source§impl Clone for ListDocumentVersionsOutputBuilder
impl Clone for ListDocumentVersionsOutputBuilder
source§fn clone(&self) -> ListDocumentVersionsOutputBuilder
fn clone(&self) -> ListDocumentVersionsOutputBuilder
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 ListDocumentVersionsOutputBuilder
impl Default for ListDocumentVersionsOutputBuilder
source§fn default() -> ListDocumentVersionsOutputBuilder
fn default() -> ListDocumentVersionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDocumentVersionsOutputBuilder
impl PartialEq for ListDocumentVersionsOutputBuilder
source§fn eq(&self, other: &ListDocumentVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListDocumentVersionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDocumentVersionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDocumentVersionsOutputBuilder
impl Send for ListDocumentVersionsOutputBuilder
impl Sync for ListDocumentVersionsOutputBuilder
impl Unpin for ListDocumentVersionsOutputBuilder
impl UnwindSafe for ListDocumentVersionsOutputBuilder
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.