Struct aws_sdk_proton::operation::list_service_template_versions::builders::ListServiceTemplateVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListServiceTemplateVersionsOutputBuilder { /* private fields */ }Expand description
A builder for ListServiceTemplateVersionsOutput.
Implementations§
source§impl ListServiceTemplateVersionsOutputBuilder
impl ListServiceTemplateVersionsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the current requested list of service major or minor versions.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the current requested list of service major or minor versions.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the current requested list of service major or minor versions.
sourcepub fn template_versions(self, input: ServiceTemplateVersionSummary) -> Self
pub fn template_versions(self, input: ServiceTemplateVersionSummary) -> Self
Appends an item to template_versions.
To override the contents of this collection use set_template_versions.
An array of major or minor versions of a service template with detail data.
sourcepub fn set_template_versions(
self,
input: Option<Vec<ServiceTemplateVersionSummary>>
) -> Self
pub fn set_template_versions( self, input: Option<Vec<ServiceTemplateVersionSummary>> ) -> Self
An array of major or minor versions of a service template with detail data.
sourcepub fn get_template_versions(
&self
) -> &Option<Vec<ServiceTemplateVersionSummary>>
pub fn get_template_versions( &self ) -> &Option<Vec<ServiceTemplateVersionSummary>>
An array of major or minor versions of a service template with detail data.
sourcepub fn build(self) -> Result<ListServiceTemplateVersionsOutput, BuildError>
pub fn build(self) -> Result<ListServiceTemplateVersionsOutput, BuildError>
Consumes the builder and constructs a ListServiceTemplateVersionsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListServiceTemplateVersionsOutputBuilder
impl Clone for ListServiceTemplateVersionsOutputBuilder
source§fn clone(&self) -> ListServiceTemplateVersionsOutputBuilder
fn clone(&self) -> ListServiceTemplateVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListServiceTemplateVersionsOutputBuilder
impl Default for ListServiceTemplateVersionsOutputBuilder
source§fn default() -> ListServiceTemplateVersionsOutputBuilder
fn default() -> ListServiceTemplateVersionsOutputBuilder
source§impl PartialEq for ListServiceTemplateVersionsOutputBuilder
impl PartialEq for ListServiceTemplateVersionsOutputBuilder
source§fn eq(&self, other: &ListServiceTemplateVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListServiceTemplateVersionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.