Class WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus

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

    public class WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties for the deployment state of a WindowsDefenderApplicationControl supplemental policy for a device.”
    • Constructor Detail

      • WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus

        protected WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus()
    • Method Detail

      • odataTypeName

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

        public static WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.Builder builderWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus()
        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
      • withDeploymentStatus

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeploymentStatus​(WindowsDefenderApplicationControlSupplementalPolicyStatuses deploymentStatus)
        Returns an immutable copy of this with just the deploymentStatus 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 deployment state of the policy.”

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

        public Optional<String> getDeviceId()
        “Device ID.”
        Returns:
        property deviceId
      • withDeviceId

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeviceId​(String deviceId)
        Returns an immutable copy of this with just the deviceId 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.

        “Device ID.”

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

        public Optional<String> getDeviceName()
        “Device name.”
        Returns:
        property deviceName
      • withDeviceName

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName 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.

        “Device name.”

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

        public Optional<OffsetDateTime> getLastSyncDateTime()
        “Last sync date time.”
        Returns:
        property lastSyncDateTime
      • withLastSyncDateTime

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withLastSyncDateTime​(OffsetDateTime lastSyncDateTime)
        Returns an immutable copy of this with just the lastSyncDateTime 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.

        “Last sync date time.”

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

        public Optional<String> getOsDescription()
        “Windows OS Version Description.”
        Returns:
        property osDescription
      • withOsDescription

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withOsDescription​(String osDescription)
        Returns an immutable copy of this with just the osDescription 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.

        “Windows OS Version Description.”

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

        public Optional<String> getOsVersion()
        “Windows OS Version.”
        Returns:
        property osVersion
      • withOsVersion

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion 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.

        “Windows OS Version.”

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

        public Optional<String> getPolicyVersion()
        “Human readable version of the WindowsDefenderApplicationControl supplemental policy.”
        Returns:
        property policyVersion
      • withPolicyVersion

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withPolicyVersion​(String policyVersion)
        Returns an immutable copy of this with just the policyVersion 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.

        “Human readable version of the WindowsDefenderApplicationControl supplemental policy.”

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

        public Optional<String> getUserName()
        “The name of the user of this device.”
        Returns:
        property userName
      • withUserName

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withUserName​(String userName)
        Returns an immutable copy of this with just the userName 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 name of the user of this device.”

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

        public Optional<String> getUserPrincipalName()
        “User Principal Name.”
        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName 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.

        “User Principal Name.”

        Parameters:
        userPrincipalName - new value of userPrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userPrincipalName 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
      • put

        public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus 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