Class LifecyclePolicyDetail

    • Method Detail

      • createdDate

        public final Long createdDate()

        The date the lifecycle policy was created.

        Returns:
        The date the lifecycle policy was created.
      • description

        public final String description()

        The description of the lifecycle policy.

        Returns:
        The description of the lifecycle policy.
      • lastModifiedDate

        public final Long lastModifiedDate()

        The timestamp of when the lifecycle policy was last modified.

        Returns:
        The timestamp of when the lifecycle policy was last modified.
      • name

        public final String name()

        The name of the lifecycle policy.

        Returns:
        The name of the lifecycle policy.
      • policy

        public final Document policy()

        The JSON policy document without any whitespaces.

        Returns:
        The JSON policy document without any whitespaces.
      • policyVersion

        public final String policyVersion()

        The version of the lifecycle policy.

        Returns:
        The version of the lifecycle policy.
      • 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)