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 ==.impl StructuralPartialEq for ListServiceTemplateVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListServiceTemplateVersionsOutputBuilder
impl RefUnwindSafe for ListServiceTemplateVersionsOutputBuilder
impl Send for ListServiceTemplateVersionsOutputBuilder
impl Sync for ListServiceTemplateVersionsOutputBuilder
impl Unpin for ListServiceTemplateVersionsOutputBuilder
impl UnwindSafe for ListServiceTemplateVersionsOutputBuilder
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