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.StringcorrelationId()Get the correlationId property: Id used for tracing the failure in the service.OffsetDateTimeeventDateTime()Get the eventDateTime property: Time when the event occurred .voidvalidate()Validates the instance.MicrosoftGraphDeviceManagementTroubleshootingEventwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Event representing an general failure.MicrosoftGraphDeviceManagementTroubleshootingEventwithCorrelationId(String correlationId)Set the correlationId property: Id used for tracing the failure in the service.MicrosoftGraphDeviceManagementTroubleshootingEventwithEventDateTime(OffsetDateTime eventDateTime)Set the eventDateTime property: Time when the event occurred .MicrosoftGraphDeviceManagementTroubleshootingEventwithId(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:
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
public MicrosoftGraphDeviceManagementTroubleshootingEvent withId(String id)
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.
-
-