Class MicrosoftGraphDeviceManagementTroubleshootingEvent
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceManagementTroubleshootingEvent
-
public final class MicrosoftGraphDeviceManagementTroubleshootingEvent extends MicrosoftGraphEntity
Event representing an general failure.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDeviceManagementTroubleshootingEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Event representing an general failure.String
correlationId()
Get the correlationId property: Id used for tracing the failure in the service.OffsetDateTime
eventDateTime()
Get the eventDateTime property: Time when the event occurred .void
validate()
Validates the instance.MicrosoftGraphDeviceManagementTroubleshootingEvent
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Event representing an general failure.MicrosoftGraphDeviceManagementTroubleshootingEvent
withCorrelationId(String correlationId)
Set the correlationId property: Id used for tracing the failure in the service.MicrosoftGraphDeviceManagementTroubleshootingEvent
withEventDateTime(OffsetDateTime eventDateTime)
Set the eventDateTime property: Time when the event occurred .MicrosoftGraphDeviceManagementTroubleshootingEvent
withId(String id)
Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
correlationId
public String correlationId()
Get the correlationId property: Id used for tracing the failure in the service.- Returns:
- the correlationId value.
-
withCorrelationId
public MicrosoftGraphDeviceManagementTroubleshootingEvent withCorrelationId(String correlationId)
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
public OffsetDateTime 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Event representing an general failure.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceManagementTroubleshootingEvent withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Event representing an general failure.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.
-
withId
public MicrosoftGraphDeviceManagementTroubleshootingEvent withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-