Class FoundationModelLifecycle

    • Method Detail

      • startOfLifeTime

        public final Instant startOfLifeTime()

        Launch time when the model first becomes available

        Returns:
        Launch time when the model first becomes available
      • endOfLifeTime

        public final Instant endOfLifeTime()

        Time when the model is no longer available for use

        Returns:
        Time when the model is no longer available for use
      • legacyTime

        public final Instant legacyTime()

        Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time

        Returns:
        Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time
      • publicExtendedAccessTime

        public final Instant publicExtendedAccessTime()

        Public extended access portion of the legacy period, when users should expect higher pricing

        Returns:
        Public extended access portion of the legacy period, when users should expect higher pricing
      • 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)