#[non_exhaustive]pub struct ManagedJobTemplateSummaryBuilder { /* private fields */ }
Expand description
A builder for ManagedJobTemplateSummary
.
Implementations§
source§impl ManagedJobTemplateSummaryBuilder
impl ManagedJobTemplateSummaryBuilder
sourcepub fn template_arn(self, input: impl Into<String>) -> Self
pub fn template_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a managed template.
sourcepub fn set_template_arn(self, input: Option<String>) -> Self
pub fn set_template_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a managed template.
sourcepub fn get_template_arn(&self) -> &Option<String>
pub fn get_template_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for a managed template.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The unique Name for a managed template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The unique Name for a managed template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The unique Name for a managed template.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for a managed template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for a managed template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for a managed template.
sourcepub fn environments(self, input: impl Into<String>) -> Self
pub fn environments(self, input: impl Into<String>) -> Self
Appends an item to environments
.
To override the contents of this collection use set_environments
.
A list of environments that are supported with the managed job template.
sourcepub fn set_environments(self, input: Option<Vec<String>>) -> Self
pub fn set_environments(self, input: Option<Vec<String>>) -> Self
A list of environments that are supported with the managed job template.
sourcepub fn get_environments(&self) -> &Option<Vec<String>>
pub fn get_environments(&self) -> &Option<Vec<String>>
A list of environments that are supported with the managed job template.
sourcepub fn template_version(self, input: impl Into<String>) -> Self
pub fn template_version(self, input: impl Into<String>) -> Self
The version for a managed template.
sourcepub fn set_template_version(self, input: Option<String>) -> Self
pub fn set_template_version(self, input: Option<String>) -> Self
The version for a managed template.
sourcepub fn get_template_version(&self) -> &Option<String>
pub fn get_template_version(&self) -> &Option<String>
The version for a managed template.
sourcepub fn build(self) -> ManagedJobTemplateSummary
pub fn build(self) -> ManagedJobTemplateSummary
Consumes the builder and constructs a ManagedJobTemplateSummary
.
Trait Implementations§
source§impl Clone for ManagedJobTemplateSummaryBuilder
impl Clone for ManagedJobTemplateSummaryBuilder
source§fn clone(&self) -> ManagedJobTemplateSummaryBuilder
fn clone(&self) -> ManagedJobTemplateSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ManagedJobTemplateSummaryBuilder
impl Default for ManagedJobTemplateSummaryBuilder
source§fn default() -> ManagedJobTemplateSummaryBuilder
fn default() -> ManagedJobTemplateSummaryBuilder
source§impl PartialEq for ManagedJobTemplateSummaryBuilder
impl PartialEq for ManagedJobTemplateSummaryBuilder
source§fn eq(&self, other: &ManagedJobTemplateSummaryBuilder) -> bool
fn eq(&self, other: &ManagedJobTemplateSummaryBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ManagedJobTemplateSummaryBuilder
Auto Trait Implementations§
impl Freeze for ManagedJobTemplateSummaryBuilder
impl RefUnwindSafe for ManagedJobTemplateSummaryBuilder
impl Send for ManagedJobTemplateSummaryBuilder
impl Sync for ManagedJobTemplateSummaryBuilder
impl Unpin for ManagedJobTemplateSummaryBuilder
impl UnwindSafe for ManagedJobTemplateSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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