Class UpdateMaintenance

    • Method Detail

      • maintenanceDay

        public final MaintenanceDay maintenanceDay()
        A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

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

        Returns:
        A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
        See Also:
        MaintenanceDay
      • maintenanceDayAsString

        public final String maintenanceDayAsString()
        A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

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

        Returns:
        A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
        See Also:
        MaintenanceDay
      • maintenanceScheduledDate

        public final String maintenanceScheduledDate()
        A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
        Returns:
        A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
      • maintenanceStartHour

        public final String maintenanceStartHour()
        UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
        Returns:
        UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
      • 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)