Class ProvisioningTemplateSummary

    • 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 summary was created.

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

        public final Instant lastModifiedDate()

        The date when the provisioning template summary was last modified.

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

        public final Boolean enabled()

        True if the fleet provision template is enabled, otherwise false.

        Returns:
        True if the fleet provision template is enabled, otherwise false.
      • 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
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)