Class WindowsUpdateRolloutSettings

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class WindowsUpdateRolloutSettings
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “A complex type to store the windows update rollout settings including offer start date time, offer end date time, and days between each set of offers.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • offerEndDateTimeInUTC

        protected OffsetDateTime offerEndDateTimeInUTC
      • offerIntervalInDays

        protected Integer offerIntervalInDays
      • offerStartDateTimeInUTC

        protected OffsetDateTime offerStartDateTimeInUTC
    • Constructor Detail

      • WindowsUpdateRolloutSettings

        protected WindowsUpdateRolloutSettings()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getOfferEndDateTimeInUTC

        public Optional<OffsetDateTime> getOfferEndDateTimeInUTC()
        “The feature update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”
        Returns:
        property offerEndDateTimeInUTC
      • withOfferEndDateTimeInUTC

        public WindowsUpdateRolloutSettings withOfferEndDateTimeInUTC​(OffsetDateTime offerEndDateTimeInUTC)
        Returns an immutable copy of this with just the offerEndDateTimeInUTC field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The feature update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”

        Parameters:
        offerEndDateTimeInUTC - new value of offerEndDateTimeInUTC field (as defined in service metadata)
        Returns:
        immutable copy of this with just the offerEndDateTimeInUTC field changed
      • getOfferIntervalInDays

        public Optional<Integer> getOfferIntervalInDays()
        “The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers.”
        Returns:
        property offerIntervalInDays
      • withOfferIntervalInDays

        public WindowsUpdateRolloutSettings withOfferIntervalInDays​(Integer offerIntervalInDays)
        Returns an immutable copy of this with just the offerIntervalInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers.”

        Parameters:
        offerIntervalInDays - new value of offerIntervalInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the offerIntervalInDays field changed
      • getOfferStartDateTimeInUTC

        public Optional<OffsetDateTime> getOfferStartDateTimeInUTC()
        “The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”
        Returns:
        property offerStartDateTimeInUTC
      • withOfferStartDateTimeInUTC

        public WindowsUpdateRolloutSettings withOfferStartDateTimeInUTC​(OffsetDateTime offerStartDateTimeInUTC)
        Returns an immutable copy of this with just the offerStartDateTimeInUTC field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”

        Parameters:
        offerStartDateTimeInUTC - new value of offerStartDateTimeInUTC field (as defined in service metadata)
        Returns:
        immutable copy of this with just the offerStartDateTimeInUTC field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static WindowsUpdateRolloutSettings.Builder builder()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class