Class ConfigManagerPolicySummary

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

    public class ConfigManagerPolicySummary
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “A ConfigManager policy summary.”
    • 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
      • compliantDeviceCount

        protected Integer compliantDeviceCount
      • enforcedDeviceCount

        protected Integer enforcedDeviceCount
      • failedDeviceCount

        protected Integer failedDeviceCount
      • nonCompliantDeviceCount

        protected Integer nonCompliantDeviceCount
      • pendingDeviceCount

        protected Integer pendingDeviceCount
      • targetedDeviceCount

        protected Integer targetedDeviceCount
    • Constructor Detail

      • ConfigManagerPolicySummary

        protected ConfigManagerPolicySummary()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getCompliantDeviceCount()
        “The number of devices evaluated to be compliant by the policy.”
        Returns:
        property compliantDeviceCount
      • withCompliantDeviceCount

        public ConfigManagerPolicySummary withCompliantDeviceCount​(Integer compliantDeviceCount)
        Returns an immutable copy of this with just the compliantDeviceCount 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 devices evaluated to be compliant by the policy.”

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

        public Optional<Integer> getEnforcedDeviceCount()
        “The number of devices that have have been remediated by the policy.”
        Returns:
        property enforcedDeviceCount
      • withEnforcedDeviceCount

        public ConfigManagerPolicySummary withEnforcedDeviceCount​(Integer enforcedDeviceCount)
        Returns an immutable copy of this with just the enforcedDeviceCount 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 devices that have have been remediated by the policy.”

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

        public Optional<Integer> getFailedDeviceCount()
        “The number of devices that failed to be evaluated by the policy.”
        Returns:
        property failedDeviceCount
      • withFailedDeviceCount

        public ConfigManagerPolicySummary withFailedDeviceCount​(Integer failedDeviceCount)
        Returns an immutable copy of this with just the failedDeviceCount 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 devices that failed to be evaluated by the policy.”

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

        public Optional<Integer> getNonCompliantDeviceCount()
        “The number of devices evaluated to be noncompliant by the policy.”
        Returns:
        property nonCompliantDeviceCount
      • withNonCompliantDeviceCount

        public ConfigManagerPolicySummary withNonCompliantDeviceCount​(Integer nonCompliantDeviceCount)
        Returns an immutable copy of this with just the nonCompliantDeviceCount 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 devices evaluated to be noncompliant by the policy.”

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

        public Optional<Integer> getPendingDeviceCount()
        “The number of devices that have acknowledged the policy but are pending evaluation.”
        Returns:
        property pendingDeviceCount
      • withPendingDeviceCount

        public ConfigManagerPolicySummary withPendingDeviceCount​(Integer pendingDeviceCount)
        Returns an immutable copy of this with just the pendingDeviceCount 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 devices that have acknowledged the policy but are pending evaluation.”

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

        public Optional<Integer> getTargetedDeviceCount()
        “The number of devices targeted by the policy.”
        Returns:
        property targetedDeviceCount
      • withTargetedDeviceCount

        public ConfigManagerPolicySummary withTargetedDeviceCount​(Integer targetedDeviceCount)
        Returns an immutable copy of this with just the targetedDeviceCount 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 devices targeted by the policy.”

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