#[non_exhaustive]pub struct ProvisioningTemplateSummaryBuilder { /* private fields */ }
Expand description
A builder for ProvisioningTemplateSummary
.
Implementations§
source§impl ProvisioningTemplateSummaryBuilder
impl ProvisioningTemplateSummaryBuilder
sourcepub fn template_arn(self, input: impl Into<String>) -> Self
pub fn template_arn(self, input: impl Into<String>) -> Self
The ARN of the provisioning template.
sourcepub fn set_template_arn(self, input: Option<String>) -> Self
pub fn set_template_arn(self, input: Option<String>) -> Self
The ARN of the provisioning template.
sourcepub fn get_template_arn(&self) -> &Option<String>
pub fn get_template_arn(&self) -> &Option<String>
The ARN of the provisioning template.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the provisioning template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the provisioning template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the provisioning template.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the provisioning template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the provisioning template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the provisioning template.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date when the provisioning template summary was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date when the provisioning template summary was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date when the provisioning template summary was created.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date when the provisioning template summary was last modified.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The date when the provisioning template summary was last modified.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The date when the provisioning template summary was last modified.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
True if the fleet provision template is enabled, otherwise false.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True if the fleet provision template is enabled, otherwise false.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
True if the fleet provision template is enabled, otherwise false.
sourcepub fn type(self, input: TemplateType) -> Self
pub fn type(self, input: TemplateType) -> Self
The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.
sourcepub fn set_type(self, input: Option<TemplateType>) -> Self
pub fn set_type(self, input: Option<TemplateType>) -> Self
The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.
sourcepub fn get_type(&self) -> &Option<TemplateType>
pub fn get_type(&self) -> &Option<TemplateType>
The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.
sourcepub fn build(self) -> ProvisioningTemplateSummary
pub fn build(self) -> ProvisioningTemplateSummary
Consumes the builder and constructs a ProvisioningTemplateSummary
.
Trait Implementations§
source§impl Clone for ProvisioningTemplateSummaryBuilder
impl Clone for ProvisioningTemplateSummaryBuilder
source§fn clone(&self) -> ProvisioningTemplateSummaryBuilder
fn clone(&self) -> ProvisioningTemplateSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProvisioningTemplateSummaryBuilder
impl Default for ProvisioningTemplateSummaryBuilder
source§fn default() -> ProvisioningTemplateSummaryBuilder
fn default() -> ProvisioningTemplateSummaryBuilder
source§impl PartialEq for ProvisioningTemplateSummaryBuilder
impl PartialEq for ProvisioningTemplateSummaryBuilder
source§fn eq(&self, other: &ProvisioningTemplateSummaryBuilder) -> bool
fn eq(&self, other: &ProvisioningTemplateSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisioningTemplateSummaryBuilder
Auto Trait Implementations§
impl Freeze for ProvisioningTemplateSummaryBuilder
impl RefUnwindSafe for ProvisioningTemplateSummaryBuilder
impl Send for ProvisioningTemplateSummaryBuilder
impl Sync for ProvisioningTemplateSummaryBuilder
impl Unpin for ProvisioningTemplateSummaryBuilder
impl UnwindSafe for ProvisioningTemplateSummaryBuilder
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