Class DescribeProvisioningTemplateResponse

    • Method Detail

      • templateArn

        public final String templateArn()

        The ARN of the provisioning template.

        Returns:
        The ARN of the provisioning template.
      • templateName

        public final String templateName()

        The name of the provisioning template.

        Returns:
        The name of the provisioning template.
      • description

        public final String description()

        The description of the provisioning template.

        Returns:
        The description of the provisioning template.
      • creationDate

        public final Instant creationDate()

        The date when the provisioning template was created.

        Returns:
        The date when the provisioning template was created.
      • lastModifiedDate

        public final Instant lastModifiedDate()

        The date when the provisioning template was last modified.

        Returns:
        The date when the provisioning template was last modified.
      • defaultVersionId

        public final Integer defaultVersionId()

        The default fleet template version ID.

        Returns:
        The default fleet template version ID.
      • templateBody

        public final String templateBody()

        The JSON formatted contents of the provisioning template.

        Returns:
        The JSON formatted contents of the provisioning template.
      • enabled

        public final Boolean enabled()

        True if the provisioning template is enabled, otherwise false.

        Returns:
        True if the provisioning template is enabled, otherwise false.
      • provisioningRoleArn

        public final String provisioningRoleArn()

        The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.

        Returns:
        The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
      • preProvisioningHook

        public final ProvisioningHook preProvisioningHook()

        Gets information about a pre-provisioned hook.

        Returns:
        Gets information about a pre-provisioned hook.
      • type

        public final TemplateType type()

        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.

        If the service returns an enum value that is not available in the current SDK version, type will return TemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        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.
        See Also:
        TemplateType
      • typeAsString

        public final String typeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, type will return TemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        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.
        See Also:
        TemplateType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object