Class Provenance


  • public class Provenance
    extends java.lang.Object
    Provenance - Provenance information can be requested on individual API calls and are returned inline with the API response. To obtain provenance information on an API call, specify the `provenance=true` query parameter when executing the API call.
    • Constructor Detail

      • Provenance

        public Provenance​(java.util.Optional<java.lang.String> version,
                          java.util.Optional<java.lang.String> buildCommit,
                          java.util.Optional<java.time.OffsetDateTime> buildTimestamp,
                          java.util.Optional<java.lang.String> buildHost,
                          java.util.Optional<? extends java.util.Map<java.lang.String,​Revision>> bundles)
      • Provenance

        public Provenance()
    • Method Detail

      • version

        public java.util.Optional<java.lang.String> version()
      • buildCommit

        public java.util.Optional<java.lang.String> buildCommit()
      • buildTimestamp

        public java.util.Optional<java.time.OffsetDateTime> buildTimestamp()
      • buildHost

        public java.util.Optional<java.lang.String> buildHost()
      • bundles

        public java.util.Optional<java.util.Map<java.lang.String,​Revision>> bundles()
      • withVersion

        public Provenance withVersion​(java.lang.String version)
      • withVersion

        public Provenance withVersion​(java.util.Optional<java.lang.String> version)
      • withBuildCommit

        public Provenance withBuildCommit​(java.lang.String buildCommit)
      • withBuildCommit

        public Provenance withBuildCommit​(java.util.Optional<java.lang.String> buildCommit)
      • withBuildTimestamp

        public Provenance withBuildTimestamp​(java.time.OffsetDateTime buildTimestamp)
      • withBuildTimestamp

        public Provenance withBuildTimestamp​(java.util.Optional<java.time.OffsetDateTime> buildTimestamp)
      • withBuildHost

        public Provenance withBuildHost​(java.lang.String buildHost)
      • withBuildHost

        public Provenance withBuildHost​(java.util.Optional<java.lang.String> buildHost)
      • withBundles

        public Provenance withBundles​(java.util.Map<java.lang.String,​Revision> bundles)
      • withBundles

        public Provenance withBundles​(java.util.Optional<? extends java.util.Map<java.lang.String,​Revision>> bundles)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object