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 association status.

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

        public final String domainName()

        Name of the domain you've associated a package with.

        Returns:
        Name of the domain you've associated a package with.
      • domainPackageStatusAsString

        public final String domainPackageStatusAsString()

        State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.

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

        Returns:
        State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
        See Also:
        DomainPackageStatus
      • packageVersion

        public final String packageVersion()
        Returns the value of the PackageVersion property for this object.
        Returns:
        The value of the PackageVersion property for this object.
      • referencePath

        public final String referencePath()

        The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.

        Returns:
        The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
      • 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)