Class SecurityBaselineStateSummary

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    SecurityBaselineCategoryStateSummary

    public class SecurityBaselineStateSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The security baseline compliance state summary for the security baseline of the account.”
    • Field Detail

      • conflictCount

        protected Integer conflictCount
      • errorCount

        protected Integer errorCount
      • notApplicableCount

        protected Integer notApplicableCount
      • notSecureCount

        protected Integer notSecureCount
      • secureCount

        protected Integer secureCount
      • unknownCount

        protected Integer unknownCount
    • Constructor Detail

      • SecurityBaselineStateSummary

        protected SecurityBaselineStateSummary()
    • Method Detail

      • odataTypeName

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

        public static SecurityBaselineStateSummary.Builder builderSecurityBaselineStateSummary()
        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
      • getConflictCount

        public Optional<Integer> getConflictCount()
        “Number of conflict devices”
        Returns:
        property conflictCount
      • withConflictCount

        public SecurityBaselineStateSummary withConflictCount​(Integer conflictCount)
        Returns an immutable copy of this with just the conflictCount 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.

        “Number of conflict devices”

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

        public Optional<Integer> getErrorCount()
        “Number of error devices”
        Returns:
        property errorCount
      • withErrorCount

        public SecurityBaselineStateSummary withErrorCount​(Integer errorCount)
        Returns an immutable copy of this with just the errorCount 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.

        “Number of error devices”

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

        public Optional<Integer> getNotApplicableCount()
        “Number of not applicable devices”
        Returns:
        property notApplicableCount
      • withNotApplicableCount

        public SecurityBaselineStateSummary withNotApplicableCount​(Integer notApplicableCount)
        Returns an immutable copy of this with just the notApplicableCount 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.

        “Number of not applicable devices”

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

        public Optional<Integer> getNotSecureCount()
        “Number of not secure devices”
        Returns:
        property notSecureCount
      • withNotSecureCount

        public SecurityBaselineStateSummary withNotSecureCount​(Integer notSecureCount)
        Returns an immutable copy of this with just the notSecureCount 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.

        “Number of not secure devices”

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

        public Optional<Integer> getSecureCount()
        “Number of secure devices”
        Returns:
        property secureCount
      • withSecureCount

        public SecurityBaselineStateSummary withSecureCount​(Integer secureCount)
        Returns an immutable copy of this with just the secureCount 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.

        “Number of secure devices”

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

        public Optional<Integer> getUnknownCount()
        “Number of unknown devices”
        Returns:
        property unknownCount
      • withUnknownCount

        public SecurityBaselineStateSummary withUnknownCount​(Integer unknownCount)
        Returns an immutable copy of this with just the unknownCount 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.

        “Number of unknown devices”

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