Class WindowsFeatureUpdateProfile

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

    public class WindowsFeatureUpdateProfile
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows Feature Update Profile”
    • Field Detail

      • deployableContentDisplayName

        protected String deployableContentDisplayName
      • description

        protected String description
      • displayName

        protected String displayName
      • featureUpdateVersion

        protected String featureUpdateVersion
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
    • Constructor Detail

      • WindowsFeatureUpdateProfile

        protected WindowsFeatureUpdateProfile()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderWindowsFeatureUpdateProfile

        public static WindowsFeatureUpdateProfile.Builder builderWindowsFeatureUpdateProfile()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

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

        public Optional<OffsetDateTime> getCreatedDateTime()
        “The date time that the profile was created.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public WindowsFeatureUpdateProfile withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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 date time that the profile was created.”

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

        public Optional<String> getDeployableContentDisplayName()
        “Friendly display name of the quality update profile deployable content”
        Returns:
        property deployableContentDisplayName
      • withDeployableContentDisplayName

        public WindowsFeatureUpdateProfile withDeployableContentDisplayName​(String deployableContentDisplayName)
        Returns an immutable copy of this with just the deployableContentDisplayName 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.

        “Friendly display name of the quality update profile deployable content”

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

        public Optional<String> getDescription()
        “The description of the profile which is specified by the user.”
        Returns:
        property description
      • withDescription

        public WindowsFeatureUpdateProfile withDescription​(String description)
        Returns an immutable copy of this with just the description 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 description of the profile which is specified by the user.”

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

        public Optional<String> getDisplayName()
        “The display name of the profile.”
        Returns:
        property displayName
      • withDisplayName

        public WindowsFeatureUpdateProfile withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 display name of the profile.”

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

        public Optional<OffsetDateTime> getEndOfSupportDate()
        “The last supported date for a feature update”
        Returns:
        property endOfSupportDate
      • withEndOfSupportDate

        public WindowsFeatureUpdateProfile withEndOfSupportDate​(OffsetDateTime endOfSupportDate)
        Returns an immutable copy of this with just the endOfSupportDate 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 last supported date for a feature update”

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

        public Optional<String> getFeatureUpdateVersion()
        “The feature update version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on.”
        Returns:
        property featureUpdateVersion
      • withFeatureUpdateVersion

        public WindowsFeatureUpdateProfile withFeatureUpdateVersion​(String featureUpdateVersion)
        Returns an immutable copy of this with just the featureUpdateVersion 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 version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date time that the profile was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public WindowsFeatureUpdateProfile withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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 date time that the profile was last modified.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of Scope Tags for this Feature Update entity.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

        public WindowsFeatureUpdateProfile withRoleScopeTagIds​(List<String> roleScopeTagIds)
        Returns an immutable copy of this with just the roleScopeTagIds 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.

        “List of Scope Tags for this Feature Update entity.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Scope Tags for this Feature Update entity.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getRolloutSettings

        public Optional<WindowsUpdateRolloutSettings> getRolloutSettings()
        “The windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers.”
        Returns:
        property rolloutSettings
      • withRolloutSettings

        public WindowsFeatureUpdateProfile withRolloutSettings​(WindowsUpdateRolloutSettings rolloutSettings)
        Returns an immutable copy of this with just the rolloutSettings 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 windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public WindowsFeatureUpdateProfile patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public WindowsFeatureUpdateProfile put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected