Class SnapshotDetails

    • Method Detail

      • snapshotName

        public final String snapshotName()

        The identifier for the application snapshot.

        Returns:
        The identifier for the application snapshot.
      • snapshotStatusAsString

        public final String snapshotStatusAsString()

        The status of the application snapshot.

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

        Returns:
        The status of the application snapshot.
        See Also:
        SnapshotStatus
      • applicationVersionId

        public final Long applicationVersionId()

        The current application version ID when the snapshot was created.

        Returns:
        The current application version ID when the snapshot was created.
      • snapshotCreationTimestamp

        public final Instant snapshotCreationTimestamp()

        The timestamp of the application snapshot.

        Returns:
        The timestamp of the application snapshot.
      • 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)