Class SortObject

    • Method Detail

      • sortBy

        public final SortBy sortBy()

        Specifies the field by which to sort the resource snapshot jobs.

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

        Returns:
        Specifies the field by which to sort the resource snapshot jobs.
        See Also:
        SortBy
      • sortByAsString

        public final String sortByAsString()

        Specifies the field by which to sort the resource snapshot jobs.

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

        Returns:
        Specifies the field by which to sort the resource snapshot jobs.
        See Also:
        SortBy
      • sortOrder

        public final SortOrder sortOrder()

        Determines the order in which the sorted results are presented.

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

        Returns:
        Determines the order in which the sorted results are presented.
        See Also:
        SortOrder
      • sortOrderAsString

        public final String sortOrderAsString()

        Determines the order in which the sorted results are presented.

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

        Returns:
        Determines the order in which the sorted results are presented.
        See Also:
        SortOrder
      • 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)