Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationDriftcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the baselineResourceDisplayName property value.Gets the driftedProperties property value.The deserialization information for the current modelGets the firstReportedDateTime property value.Gets the monitorId property value.Gets the resourceInstanceIdentifier property value.Gets the resourceType property value.Gets the status property value.Gets the tenantId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the baselineResourceDisplayName property value.voidsetDriftedProperties(List<DriftedProperty> value) Sets the driftedProperties property value.voidSets the firstReportedDateTime property value.voidsetMonitorId(String value) Sets the monitorId property value.voidSets the resourceInstanceIdentifier property value.voidsetResourceType(String value) Sets the resourceType property value.voidsetStatus(DriftStatus value) Sets the status property value.voidsetTenantId(String value) Sets the tenantId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConfigurationDrift
public ConfigurationDrift()Instantiates a newConfigurationDriftand 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
Gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby.- Returns:
- a
String
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne).- Returns:
- a
String
-
getResourceInstanceIdentifier
Gets the resourceInstanceIdentifier property value. The resourceInstanceIdentifier property- Returns:
- a
OpenComplexDictionaryType
-
getResourceType
Gets the resourceType property value. Resource for which the drift is detected. Supports $filter (eq, ne, startsWith).- Returns:
- a
String
-
getStatus
Gets the status property value. The status property- Returns:
- a
DriftStatus
-
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 -
setBaselineResourceDisplayName
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
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
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
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
Sets the resourceInstanceIdentifier property value. The resourceInstanceIdentifier property- Parameters:
value- Value to set for the resourceInstanceIdentifier property.
-
setResourceType
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
Sets the status property value. The status property- Parameters:
value- Value to set for the status property.
-
setTenantId
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.
-