Class MicrosoftGraphDeviceActionResult
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceActionResult
-
public final class MicrosoftGraphDeviceActionResult extends Object
Device action result.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDeviceActionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionName()Get the actionName property: Action name.MicrosoftGraphActionStateactionState()Get the actionState property: The actionState property.Map<String,Object>additionalProperties()Get the additionalProperties property: Device action result.OffsetDateTimelastUpdatedDateTime()Get the lastUpdatedDateTime property: Time the action state was last updated.OffsetDateTimestartDateTime()Get the startDateTime property: Time the action was initiated.voidvalidate()Validates the instance.MicrosoftGraphDeviceActionResultwithActionName(String actionName)Set the actionName property: Action name.MicrosoftGraphDeviceActionResultwithActionState(MicrosoftGraphActionState actionState)Set the actionState property: The actionState property.MicrosoftGraphDeviceActionResultwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Device action result.MicrosoftGraphDeviceActionResultwithLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)Set the lastUpdatedDateTime property: Time the action state was last updated.MicrosoftGraphDeviceActionResultwithStartDateTime(OffsetDateTime startDateTime)Set the startDateTime property: Time the action was initiated.
-
-
-
Method Detail
-
actionName
public String actionName()
Get the actionName property: Action name.- Returns:
- the actionName value.
-
withActionName
public MicrosoftGraphDeviceActionResult withActionName(String actionName)
Set the actionName property: Action name.- Parameters:
actionName- the actionName value to set.- Returns:
- the MicrosoftGraphDeviceActionResult object itself.
-
actionState
public MicrosoftGraphActionState actionState()
Get the actionState property: The actionState property.- Returns:
- the actionState value.
-
withActionState
public MicrosoftGraphDeviceActionResult withActionState(MicrosoftGraphActionState actionState)
Set the actionState property: The actionState property.- Parameters:
actionState- the actionState value to set.- Returns:
- the MicrosoftGraphDeviceActionResult object itself.
-
lastUpdatedDateTime
public OffsetDateTime lastUpdatedDateTime()
Get the lastUpdatedDateTime property: Time the action state was last updated.- Returns:
- the lastUpdatedDateTime value.
-
withLastUpdatedDateTime
public MicrosoftGraphDeviceActionResult withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
Set the lastUpdatedDateTime property: Time the action state was last updated.- Parameters:
lastUpdatedDateTime- the lastUpdatedDateTime value to set.- Returns:
- the MicrosoftGraphDeviceActionResult object itself.
-
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: Time the action was initiated.- Returns:
- the startDateTime value.
-
withStartDateTime
public MicrosoftGraphDeviceActionResult withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: Time the action was initiated.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the MicrosoftGraphDeviceActionResult object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Device action result.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceActionResult withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Device action result.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceActionResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-