Class Sensor

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

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

    • Sensor

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

    • createFromDiscriminatorValue

      @Nonnull public static Sensor 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 Sensor
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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
    • getDeploymentStatus

      @Nullable public DeploymentStatus getDeploymentStatus()
      Gets the deploymentStatus property value. The deploymentStatus property
      Returns:
      a DeploymentStatus
    • getDisplayName

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

      @Nullable public String getDomainName()
      Gets the domainName property value. The fully qualified domain name of the sensor.
      Returns:
      a 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>>
    • getHealthIssues

      @Nullable public List<HealthIssue> getHealthIssues()
      Gets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
      Returns:
      a List<HealthIssue>
    • getHealthStatus

      @Nullable public SensorHealthStatus getHealthStatus()
      Gets the healthStatus property value. The healthStatus property
      Returns:
      a SensorHealthStatus
    • getOpenHealthIssuesCount

      @Nullable public Long getOpenHealthIssuesCount()
      Gets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor.
      Returns:
      a Long
    • getSensorType

      @Nullable public SensorType getSensorType()
      Gets the sensorType property value. The sensorType property
      Returns:
      a SensorType
    • getSettings

      @Nullable public SensorSettings getSettings()
      Gets the settings property value. The settings property
      Returns:
      a SensorSettings
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. The version of the sensor.
      Returns:
      a String
    • 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
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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.
    • setDeploymentStatus

      public void setDeploymentStatus(@Nullable DeploymentStatus value)
      Sets the deploymentStatus property value. The deploymentStatus property
      Parameters:
      value - Value to set for the deploymentStatus property.
    • setDisplayName

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

      public void setDomainName(@Nullable String value)
      Sets the domainName property value. The fully qualified domain name of the sensor.
      Parameters:
      value - Value to set for the domainName property.
    • setHealthIssues

      public void setHealthIssues(@Nullable List<HealthIssue> value)
      Sets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor.
      Parameters:
      value - Value to set for the healthIssues property.
    • setHealthStatus

      public void setHealthStatus(@Nullable SensorHealthStatus value)
      Sets the healthStatus property value. The healthStatus property
      Parameters:
      value - Value to set for the healthStatus property.
    • setOpenHealthIssuesCount

      public void setOpenHealthIssuesCount(@Nullable Long value)
      Sets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor.
      Parameters:
      value - Value to set for the openHealthIssuesCount property.
    • setSensorType

      public void setSensorType(@Nullable SensorType value)
      Sets the sensorType property value. The sensorType property
      Parameters:
      value - Value to set for the sensorType property.
    • setSettings

      public void setSettings(@Nullable SensorSettings value)
      Sets the settings property value. The settings property
      Parameters:
      value - Value to set for the settings property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version of the sensor.
      Parameters:
      value - Value to set for the version property.