#[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 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 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 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 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 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 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 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<ProvisioningTemplateSummaryBuilder> for ProvisioningTemplateSummaryBuilder
impl PartialEq<ProvisioningTemplateSummaryBuilder> 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 ==
.