Class MicrosoftGraphDeviceManagementTroubleshootingEvent
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceManagementTroubleshootingEvent
deviceManagementTroubleshootingEvent
Event representing an general failure.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Event representing an general failure.Get the correlationId property: Id used for tracing the failure in the service.Get the eventDateTime property: Time when the event occurred .voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Event representing an general failure.withCorrelationId(String correlationId) Set the correlationId property: Id used for tracing the failure in the service.withEventDateTime(OffsetDateTime eventDateTime) Set the eventDateTime property: Time when the event occurred .Set the id property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDeviceManagementTroubleshootingEvent
public MicrosoftGraphDeviceManagementTroubleshootingEvent()Creates an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent class.
-
-
Method Details
-
correlationId
Get the correlationId property: Id used for tracing the failure in the service.- Returns:
- the correlationId value.
-
withCorrelationId
Set the correlationId property: Id used for tracing the failure in the service.- Parameters:
correlationId- the correlationId value to set.- Returns:
- the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.
-
eventDateTime
Get the eventDateTime property: Time when the event occurred .- Returns:
- the eventDateTime value.
-
withEventDateTime
public MicrosoftGraphDeviceManagementTroubleshootingEvent withEventDateTime(OffsetDateTime eventDateTime) Set the eventDateTime property: Time when the event occurred .- Parameters:
eventDateTime- the eventDateTime value to set.- Returns:
- the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.
-
additionalProperties
Get the additionalProperties property: Event representing an general failure.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceManagementTroubleshootingEvent withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Event representing an general failure.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-