Class AutoUpdateSchedule

java.lang.Object
com.okta.sdk.resource.model.AutoUpdateSchedule
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class AutoUpdateSchedule extends Object implements Serializable
The schedule of auto-update configured by the admin
See Also:
  • Field Details

  • Constructor Details

    • AutoUpdateSchedule

      public AutoUpdateSchedule()
  • Method Details

    • cron

      public AutoUpdateSchedule cron(String cron)
    • getCron

      @Nullable public String getCron()
      The schedule of the update in cron format. The cron settings are limited to only the day of the month or the nth-day-of-the-week configurations. For example, `0 8 ? * 6#3` indicates every third Saturday at 8:00 AM.
      Returns:
      cron
    • setCron

      public void setCron(String cron)
    • delay

      public AutoUpdateSchedule delay(Integer delay)
    • getDelay

      @Nullable public Integer getDelay()
      Delay in days
      Returns:
      delay
    • setDelay

      public void setDelay(Integer delay)
    • duration

      public AutoUpdateSchedule duration(Integer duration)
    • getDuration

      @Nullable public Integer getDuration()
      Duration in minutes
      Returns:
      duration
    • setDuration

      public void setDuration(Integer duration)
    • lastUpdated

      public AutoUpdateSchedule lastUpdated(OffsetDateTime lastUpdated)
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Timestamp when the update finished (only for a successful or failed update, not for a cancelled update). Null is returned if the job hasn't finished once yet.
      Returns:
      lastUpdated
    • setLastUpdated

      public void setLastUpdated(OffsetDateTime lastUpdated)
    • timezone

      public AutoUpdateSchedule timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      Timezone of where the scheduled job takes place
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object