Class ConfigurationDrift

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

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

    • ConfigurationDrift

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

    • createFromDiscriminatorValue

      @Nonnull public static ConfigurationDrift 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 ConfigurationDrift
    • getBaselineResourceDisplayName

      @Nullable public String getBaselineResourceDisplayName()
      Gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby.
      Returns:
      a String
    • getDriftedProperties

      @Nullable public List<DriftedProperty> getDriftedProperties()
      Gets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. Requires $select to retrieve.
      Returns:
      a List<DriftedProperty>
    • 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>>
    • getFirstReportedDateTime

      @Nullable public OffsetDateTime getFirstReportedDateTime()
      Gets the firstReportedDateTime property value. The date and time at which drift is first detected. 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. Supports $filter (eq, ne, ge, le) and $orderby.
      Returns:
      a OffsetDateTime
    • getMonitorId

      @Nullable public String getMonitorId()
      Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne).
      Returns:
      a String
    • getResourceInstanceIdentifier

      @Nullable public OpenComplexDictionaryType getResourceInstanceIdentifier()
      Gets the resourceInstanceIdentifier property value. The resourceInstanceIdentifier property
      Returns:
      a OpenComplexDictionaryType
    • getResourceType

      @Nullable public String getResourceType()
      Gets the resourceType property value. Resource for which the drift is detected. Supports $filter (eq, ne, startsWith).
      Returns:
      a String
    • getStatus

      @Nullable public DriftStatus getStatus()
      Gets the status property value. The status property
      Returns:
      a DriftStatus
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne).
      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
    • setBaselineResourceDisplayName

      public void setBaselineResourceDisplayName(@Nullable String value)
      Sets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby.
      Parameters:
      value - Value to set for the baselineResourceDisplayName property.
    • setDriftedProperties

      public void setDriftedProperties(@Nullable List<DriftedProperty> value)
      Sets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. Requires $select to retrieve.
      Parameters:
      value - Value to set for the driftedProperties property.
    • setFirstReportedDateTime

      public void setFirstReportedDateTime(@Nullable OffsetDateTime value)
      Sets the firstReportedDateTime property value. The date and time at which drift is first detected. 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. Supports $filter (eq, ne, ge, le) and $orderby.
      Parameters:
      value - Value to set for the firstReportedDateTime property.
    • setMonitorId

      public void setMonitorId(@Nullable String value)
      Sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne).
      Parameters:
      value - Value to set for the monitorId property.
    • setResourceInstanceIdentifier

      public void setResourceInstanceIdentifier(@Nullable OpenComplexDictionaryType value)
      Sets the resourceInstanceIdentifier property value. The resourceInstanceIdentifier property
      Parameters:
      value - Value to set for the resourceInstanceIdentifier property.
    • setResourceType

      public void setResourceType(@Nullable String value)
      Sets the resourceType property value. Resource for which the drift is detected. Supports $filter (eq, ne, startsWith).
      Parameters:
      value - Value to set for the resourceType property.
    • setStatus

      public void setStatus(@Nullable DriftStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne).
      Parameters:
      value - Value to set for the tenantId property.