Class DomainPackageDetails

    • Method Detail

      • packageID

        public final String packageID()

        Internal ID of the package.

        Returns:
        Internal ID of the package.
      • packageName

        public final String packageName()

        User-specified name of the package.

        Returns:
        User-specified name of the package.
      • lastUpdated

        public final Instant lastUpdated()

        Timestamp of the most recent update to the package association status.

        Returns:
        Timestamp of the most recent update to the package association status.
      • domainName

        public final String domainName()

        Name of the domain that the package is associated with.

        Returns:
        Name of the domain that the package is associated with.
      • packageVersion

        public final String packageVersion()

        The current version of the package.

        Returns:
        The current version of the package.
      • referencePath

        public final String referencePath()

        The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when the package is for synonym files.

        Returns:
        The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when the package is for synonym files.
      • errorDetails

        public final ErrorDetails errorDetails()

        Additional information if the package is in an error state. Null otherwise.

        Returns:
        Additional information if the package is in an error state. Null otherwise.
      • 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)