Class HealthIssue

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.HealthIssue
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class HealthIssue extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • HealthIssue

      public HealthIssue()
      Instantiates a new HealthIssue and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static HealthIssue createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a HealthIssue
    • getAdditionalInformation

      @Nullable public List<String> getAdditionalInformation()
      Gets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix.
      Returns:
      a List<String>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Contains more detailed information about the health issue.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the health issue.
      Returns:
      a String
    • getDomainNames

      @Nullable public List<String> getDomainNames()
      Gets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to.
      Returns:
      a List<String>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHealthIssueType

      @Nullable public HealthIssueType getHealthIssueType()
      Gets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.
      Returns:
      a HealthIssueType
    • getIssueTypeId

      @Nullable public String getIssueTypeId()
      Gets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.
      Returns:
      a String
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getRecommendations

      @Nullable public List<String> getRecommendations()
      Gets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses.
      Returns:
      a List<String>
    • getRecommendedActionCommands

      @Nullable public List<String> getRecommendedActionCommands()
      Gets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix.
      Returns:
      a List<String>
    • getSensorDNSNames

      @Nullable public List<String> getSensorDNSNames()
      Gets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to.
      Returns:
      a List<String>
    • getSeverity

      @Nullable public HealthIssueSeverity getSeverity()
      Gets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue.
      Returns:
      a HealthIssueSeverity
    • getStatus

      @Nullable public HealthIssueStatus getStatus()
      Gets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue.
      Returns:
      a HealthIssueStatus
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalInformation

      public void setAdditionalInformation(@Nullable List<String> value)
      Sets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix.
      Parameters:
      value - Value to set for the additionalInformation property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the health issue was generated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Contains more detailed information about the health issue.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the health issue.
      Parameters:
      value - Value to set for the displayName property.
    • setDomainNames

      public void setDomainNames(@Nullable List<String> value)
      Sets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to.
      Parameters:
      value - Value to set for the domainNames property.
    • setHealthIssueType

      public void setHealthIssueType(@Nullable HealthIssueType value)
      Sets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.
      Parameters:
      value - Value to set for the healthIssueType property.
    • setIssueTypeId

      public void setIssueTypeId(@Nullable String value)
      Sets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues.
      Parameters:
      value - Value to set for the issueTypeId property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time when the health issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setRecommendations

      public void setRecommendations(@Nullable List<String> value)
      Sets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses.
      Parameters:
      value - Value to set for the recommendations property.
    • setRecommendedActionCommands

      public void setRecommendedActionCommands(@Nullable List<String> value)
      Sets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix.
      Parameters:
      value - Value to set for the recommendedActionCommands property.
    • setSensorDNSNames

      public void setSensorDNSNames(@Nullable List<String> value)
      Sets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to.
      Parameters:
      value - Value to set for the sensorDNSNames property.
    • setSeverity

      public void setSeverity(@Nullable HealthIssueSeverity value)
      Sets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue.
      Parameters:
      value - Value to set for the severity property.
    • setStatus

      public void setStatus(@Nullable HealthIssueStatus value)
      Sets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue.
      Parameters:
      value - Value to set for the status property.