Class FreshnessCronSchedule


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-12-06T11:25:47.362934Z[Etc/UTC]")
    public class FreshnessCronSchedule
    extends java.lang.Object
    Attributes defining a CRON-formatted schedule used for defining a freshness assertion.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FreshnessCronSchedule cron​(java.lang.String cron)  
      boolean equals​(java.lang.Object o)  
      @NotNull java.lang.String getCron()
      A cron-formatted execution interval, as a cron string, e.g.
      @NotNull java.lang.String getTimezone()
      Timezone in which the cron interval applies, e.g.
      @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getWindowStartOffsetMs()
      An optional offset in milliseconds to SUBTRACT from the timestamp generated by the cron schedule to generate the lower bounds of the \"freshness window\", or the window of time in which an event must have occurred in order for the Freshness check to be considering passing.
      int hashCode()  
      void setCron​(java.lang.String cron)  
      void setTimezone​(java.lang.String timezone)  
      void setWindowStartOffsetMs​(java.lang.Long windowStartOffsetMs)  
      FreshnessCronSchedule timezone​(java.lang.String timezone)  
      java.lang.String toString()  
      FreshnessCronSchedule windowStartOffsetMs​(java.lang.Long windowStartOffsetMs)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FreshnessCronSchedule

        public FreshnessCronSchedule()
    • Method Detail

      • getCron

        @NotNull
        public @NotNull java.lang.String getCron()
        A cron-formatted execution interval, as a cron string, e.g. 1 * * * *
        Returns:
        cron
      • setCron

        public void setCron​(java.lang.String cron)
      • getTimezone

        @NotNull
        public @NotNull java.lang.String getTimezone()
        Timezone in which the cron interval applies, e.g. America/Los Angeles
        Returns:
        timezone
      • setTimezone

        public void setTimezone​(java.lang.String timezone)
      • windowStartOffsetMs

        public FreshnessCronSchedule windowStartOffsetMs​(java.lang.Long windowStartOffsetMs)
      • getWindowStartOffsetMs

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getWindowStartOffsetMs()
        An optional offset in milliseconds to SUBTRACT from the timestamp generated by the cron schedule to generate the lower bounds of the \"freshness window\", or the window of time in which an event must have occurred in order for the Freshness check to be considering passing. If left empty, the start of the SLA window will be the _end_ of the previously evaluated Freshness window. minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        windowStartOffsetMs
      • setWindowStartOffsetMs

        public void setWindowStartOffsetMs​(java.lang.Long windowStartOffsetMs)
      • 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