Struct aws_sdk_iot::operation::describe_provisioning_template::builders::DescribeProvisioningTemplateOutputBuilder
source · #[non_exhaustive]pub struct DescribeProvisioningTemplateOutputBuilder { /* private fields */ }Expand description
A builder for DescribeProvisioningTemplateOutput.
Implementations§
source§impl DescribeProvisioningTemplateOutputBuilder
impl DescribeProvisioningTemplateOutputBuilder
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 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 was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date when the provisioning template 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 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 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 was last modified.
sourcepub fn default_version_id(self, input: i32) -> Self
pub fn default_version_id(self, input: i32) -> Self
The default fleet template version ID.
sourcepub fn set_default_version_id(self, input: Option<i32>) -> Self
pub fn set_default_version_id(self, input: Option<i32>) -> Self
The default fleet template version ID.
sourcepub fn get_default_version_id(&self) -> &Option<i32>
pub fn get_default_version_id(&self) -> &Option<i32>
The default fleet template version ID.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The JSON formatted contents of the provisioning template.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The JSON formatted contents of the provisioning template.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The JSON formatted contents of the provisioning template.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
True if the provisioning 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 provisioning template is enabled, otherwise false.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
True if the provisioning template is enabled, otherwise false.
sourcepub fn provisioning_role_arn(self, input: impl Into<String>) -> Self
pub fn provisioning_role_arn(self, input: impl Into<String>) -> Self
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
sourcepub fn set_provisioning_role_arn(self, input: Option<String>) -> Self
pub fn set_provisioning_role_arn(self, input: Option<String>) -> Self
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
sourcepub fn get_provisioning_role_arn(&self) -> &Option<String>
pub fn get_provisioning_role_arn(&self) -> &Option<String>
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
sourcepub fn pre_provisioning_hook(self, input: ProvisioningHook) -> Self
pub fn pre_provisioning_hook(self, input: ProvisioningHook) -> Self
Gets information about a pre-provisioned hook.
sourcepub fn set_pre_provisioning_hook(self, input: Option<ProvisioningHook>) -> Self
pub fn set_pre_provisioning_hook(self, input: Option<ProvisioningHook>) -> Self
Gets information about a pre-provisioned hook.
sourcepub fn get_pre_provisioning_hook(&self) -> &Option<ProvisioningHook>
pub fn get_pre_provisioning_hook(&self) -> &Option<ProvisioningHook>
Gets information about a pre-provisioned hook.
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) -> DescribeProvisioningTemplateOutput
pub fn build(self) -> DescribeProvisioningTemplateOutput
Consumes the builder and constructs a DescribeProvisioningTemplateOutput.
Trait Implementations§
source§impl Clone for DescribeProvisioningTemplateOutputBuilder
impl Clone for DescribeProvisioningTemplateOutputBuilder
source§fn clone(&self) -> DescribeProvisioningTemplateOutputBuilder
fn clone(&self) -> DescribeProvisioningTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeProvisioningTemplateOutputBuilder
impl Default for DescribeProvisioningTemplateOutputBuilder
source§fn default() -> DescribeProvisioningTemplateOutputBuilder
fn default() -> DescribeProvisioningTemplateOutputBuilder
source§impl PartialEq for DescribeProvisioningTemplateOutputBuilder
impl PartialEq for DescribeProvisioningTemplateOutputBuilder
source§fn eq(&self, other: &DescribeProvisioningTemplateOutputBuilder) -> bool
fn eq(&self, other: &DescribeProvisioningTemplateOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeProvisioningTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeProvisioningTemplateOutputBuilder
impl RefUnwindSafe for DescribeProvisioningTemplateOutputBuilder
impl Send for DescribeProvisioningTemplateOutputBuilder
impl Sync for DescribeProvisioningTemplateOutputBuilder
impl Unpin for DescribeProvisioningTemplateOutputBuilder
impl UnwindSafe for DescribeProvisioningTemplateOutputBuilder
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