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 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 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<ListDocumentVersionsOutputBuilder> for ListDocumentVersionsOutputBuilder
impl PartialEq<ListDocumentVersionsOutputBuilder> 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 ==.