Class TopicRefreshSchedule

    • Method Detail

      • isEnabled

        public final Boolean isEnabled()

        A Boolean value that controls whether to schedule is enabled.

        Returns:
        A Boolean value that controls whether to schedule is enabled.
      • basedOnSpiceSchedule

        public final Boolean basedOnSpiceSchedule()

        A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.

        Returns:
        A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
      • startingAt

        public final Instant startingAt()

        The starting date and time for the refresh schedule.

        Returns:
        The starting date and time for the refresh schedule.
      • timezone

        public final String timezone()

        The timezone that you want the refresh schedule to use.

        Returns:
        The timezone that you want the refresh schedule to use.
      • repeatAt

        public final String repeatAt()

        The time of day when the refresh should run, for example, Monday-Sunday.

        Returns:
        The time of day when the refresh should run, for example, Monday-Sunday.
      • topicScheduleType

        public final TopicScheduleType topicScheduleType()

        The type of refresh schedule. Valid values for this structure are HOURLY, DAILY, WEEKLY, and MONTHLY.

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

        Returns:
        The type of refresh schedule. Valid values for this structure are HOURLY, DAILY , WEEKLY, and MONTHLY.
        See Also:
        TopicScheduleType
      • topicScheduleTypeAsString

        public final String topicScheduleTypeAsString()

        The type of refresh schedule. Valid values for this structure are HOURLY, DAILY, WEEKLY, and MONTHLY.

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

        Returns:
        The type of refresh schedule. Valid values for this structure are HOURLY, DAILY , WEEKLY, and MONTHLY.
        See Also:
        TopicScheduleType
      • 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)