Class Alert

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

    public class Alert
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType

    Org.OData.Capabilities.V1.CountRestrictions

    Countable = true

    Org.OData.Capabilities.V1.FilterRestrictions

    Filterable = true

    Org.OData.Capabilities.V1.SelectRestrictions

    Selectable = true

    Org.OData.Capabilities.V1.SkipSupported

    true

    Org.OData.Capabilities.V1.SortRestrictions

    Sortable = true

    Org.OData.Capabilities.V1.TopSupported

    true

    • Constructor Detail

      • Alert

        protected Alert()
    • Method Detail

      • odataTypeName

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

        public static Alert.Builder builderAlert()
        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
      • getActivityGroupName

        public Optional<String> getActivityGroupName()
      • withActivityGroupName

        public Alert withActivityGroupName​(String activityGroupName)
      • getAlertDetections

        public com.github.davidmoten.odata.client.CollectionPage<AlertDetection> getAlertDetections()
      • getAlertDetections

        public com.github.davidmoten.odata.client.CollectionPage<AlertDetection> getAlertDetections​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withAssignedTo

        public Alert withAssignedTo​(String assignedTo)
      • getAzureSubscriptionId

        public Optional<String> getAzureSubscriptionId()
      • withAzureSubscriptionId

        public Alert withAzureSubscriptionId​(String azureSubscriptionId)
      • withAzureTenantId

        public Alert withAzureTenantId​(String azureTenantId)
      • withCategory

        public Alert withCategory​(String category)
      • getCloudAppStates

        public com.github.davidmoten.odata.client.CollectionPage<CloudAppSecurityState> getCloudAppStates()
      • getCloudAppStates

        public com.github.davidmoten.odata.client.CollectionPage<CloudAppSecurityState> getCloudAppStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getComments

        public com.github.davidmoten.odata.client.CollectionPage<String> getComments()
      • getComments

        public com.github.davidmoten.odata.client.CollectionPage<String> getComments​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withConfidence

        public Alert withConfidence​(Integer confidence)
      • withDescription

        public Alert withDescription​(String description)
      • getDetectionIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getDetectionIds()
      • withDetectionIds

        public Alert withDetectionIds​(List<String> detectionIds)
      • getDetectionIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getDetectionIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getFileStates

        public com.github.davidmoten.odata.client.CollectionPage<FileSecurityState> getFileStates()
      • getFileStates

        public com.github.davidmoten.odata.client.CollectionPage<FileSecurityState> getFileStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getHistoryStates

        public com.github.davidmoten.odata.client.CollectionPage<AlertHistoryState> getHistoryStates()
      • getHistoryStates

        public com.github.davidmoten.odata.client.CollectionPage<AlertHistoryState> getHistoryStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getHostStates

        public com.github.davidmoten.odata.client.CollectionPage<HostSecurityState> getHostStates()
      • getHostStates

        public com.github.davidmoten.odata.client.CollectionPage<HostSecurityState> getHostStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getIncidentIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getIncidentIds()
      • withIncidentIds

        public Alert withIncidentIds​(List<String> incidentIds)
      • getIncidentIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getIncidentIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getInvestigationSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<InvestigationSecurityState> getInvestigationSecurityStates()
      • getInvestigationSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<InvestigationSecurityState> getInvestigationSecurityStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withLastEventDateTime

        public Alert withLastEventDateTime​(OffsetDateTime lastEventDateTime)
      • withLastModifiedDateTime

        public Alert withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
      • getMalwareStates

        public com.github.davidmoten.odata.client.CollectionPage<MalwareState> getMalwareStates()
      • getMalwareStates

        public com.github.davidmoten.odata.client.CollectionPage<MalwareState> getMalwareStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getMessageSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<MessageSecurityState> getMessageSecurityStates()
      • getMessageSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<MessageSecurityState> getMessageSecurityStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getNetworkConnections

        public com.github.davidmoten.odata.client.CollectionPage<NetworkConnection> getNetworkConnections()
      • getNetworkConnections

        public com.github.davidmoten.odata.client.CollectionPage<NetworkConnection> getNetworkConnections​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getProcesses

        public com.github.davidmoten.odata.client.CollectionPage<Process> getProcesses()
      • getProcesses

        public com.github.davidmoten.odata.client.CollectionPage<Process> getProcesses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getRecommendedActions

        public com.github.davidmoten.odata.client.CollectionPage<String> getRecommendedActions()
      • withRecommendedActions

        public Alert withRecommendedActions​(List<String> recommendedActions)
      • getRecommendedActions

        public com.github.davidmoten.odata.client.CollectionPage<String> getRecommendedActions​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getRegistryKeyStates

        public com.github.davidmoten.odata.client.CollectionPage<RegistryKeyState> getRegistryKeyStates()
      • getRegistryKeyStates

        public com.github.davidmoten.odata.client.CollectionPage<RegistryKeyState> getRegistryKeyStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getSecurityResources

        public com.github.davidmoten.odata.client.CollectionPage<SecurityResource> getSecurityResources()
      • getSecurityResources

        public com.github.davidmoten.odata.client.CollectionPage<SecurityResource> getSecurityResources​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getSourceMaterials

        public com.github.davidmoten.odata.client.CollectionPage<String> getSourceMaterials()
      • withSourceMaterials

        public Alert withSourceMaterials​(List<String> sourceMaterials)
      • getSourceMaterials

        public com.github.davidmoten.odata.client.CollectionPage<String> getSourceMaterials​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getTags

        public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
      • getTags

        public com.github.davidmoten.odata.client.CollectionPage<String> getTags​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getTriggers

        public com.github.davidmoten.odata.client.CollectionPage<AlertTrigger> getTriggers()
      • getTriggers

        public com.github.davidmoten.odata.client.CollectionPage<AlertTrigger> getTriggers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getUriClickSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<UriClickSecurityState> getUriClickSecurityStates()
      • getUriClickSecurityStates

        public com.github.davidmoten.odata.client.CollectionPage<UriClickSecurityState> getUriClickSecurityStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getUserStates

        public com.github.davidmoten.odata.client.CollectionPage<UserSecurityState> getUserStates()
      • getUserStates

        public com.github.davidmoten.odata.client.CollectionPage<UserSecurityState> getUserStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getVulnerabilityStates

        public com.github.davidmoten.odata.client.CollectionPage<VulnerabilityState> getVulnerabilityStates()
      • getVulnerabilityStates

        public com.github.davidmoten.odata.client.CollectionPage<VulnerabilityState> getVulnerabilityStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • 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 Alert 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 Alert 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