Class WindowsDefenderApplicationControlSupplementalPolicy

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

    public class WindowsDefenderApplicationControlSupplementalPolicy
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • content

        protected byte[] content
      • contentFileName

        protected String contentFileName
      • description

        protected String description
      • displayName

        protected String displayName
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
      • version

        protected String version
    • Constructor Detail

      • WindowsDefenderApplicationControlSupplementalPolicy

        protected WindowsDefenderApplicationControlSupplementalPolicy()
    • Method Detail

      • odataTypeName

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

        public static WindowsDefenderApplicationControlSupplementalPolicy.Builder builderWindowsDefenderApplicationControlSupplementalPolicy()
        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
      • getContent

        public Optional<byte[]> getContent()
        “The WindowsDefenderApplicationControl supplemental policy content in byte array format.”
        Returns:
        property content
      • withContent

        public WindowsDefenderApplicationControlSupplementalPolicy withContent​(byte[] content)
        Returns an immutable copy of this with just the content 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 WindowsDefenderApplicationControl supplemental policy content in byte array format.”

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

        public Optional<String> getContentFileName()
        “The WindowsDefenderApplicationControl supplemental policy content's file name.”
        Returns:
        property contentFileName
      • withContentFileName

        public WindowsDefenderApplicationControlSupplementalPolicy withContentFileName​(String contentFileName)
        Returns an immutable copy of this with just the contentFileName 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 WindowsDefenderApplicationControl supplemental policy content's file name.”

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

        public Optional<OffsetDateTime> getCreationDateTime()
        “The date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded.”
        Returns:
        property creationDateTime
      • withCreationDateTime

        public WindowsDefenderApplicationControlSupplementalPolicy withCreationDateTime​(OffsetDateTime creationDateTime)
        Returns an immutable copy of this with just the creationDateTime 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 and time when the WindowsDefenderApplicationControl supplemental policy was uploaded.”

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

        public Optional<String> getDescription()
        “The description of WindowsDefenderApplicationControl supplemental policy.”
        Returns:
        property description
      • withDescription

        public WindowsDefenderApplicationControlSupplementalPolicy 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 WindowsDefenderApplicationControl supplemental policy.”

        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 WindowsDefenderApplicationControl supplemental policy.”
        Returns:
        property displayName
      • withDisplayName

        public WindowsDefenderApplicationControlSupplementalPolicy 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 WindowsDefenderApplicationControl supplemental policy.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date and time when the WindowsDefenderApplicationControl supplemental policy was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public WindowsDefenderApplicationControlSupplementalPolicy 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 and time when the WindowsDefenderApplicationControl supplemental policy 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 WindowsDefenderApplicationControl supplemental policy entity.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

        public WindowsDefenderApplicationControlSupplementalPolicy 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 WindowsDefenderApplicationControl supplemental policy 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 WindowsDefenderApplicationControl supplemental policy entity.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getVersion

        public Optional<String> getVersion()
        “The WindowsDefenderApplicationControl supplemental policy's version.”
        Returns:
        property version
      • withVersion

        public WindowsDefenderApplicationControlSupplementalPolicy withVersion​(String version)
        Returns an immutable copy of this with just the version 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 WindowsDefenderApplicationControl supplemental policy's version.”

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