MicrosoftGraphDeviceActionResult Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceActionResult

public final class MicrosoftGraphDeviceActionResult

deviceActionResult

Device action result.

Constructor Summary

Constructor Description
MicrosoftGraphDeviceActionResult()

Creates an instance of MicrosoftGraphDeviceActionResult class.

Method Summary

Modifier and Type Method and Description
String actionName()

Get the actionName property: Action name.

MicrosoftGraphActionState actionState()

Get the actionState property: actionState.

Map<String,Object> additionalProperties()

Get the additionalProperties property: Device action result.

OffsetDateTime lastUpdatedDateTime()

Get the lastUpdatedDateTime property: Time the action state was last updated.

OffsetDateTime startDateTime()

Get the startDateTime property: Time the action was initiated.

void validate()

Validates the instance.

MicrosoftGraphDeviceActionResult withActionName(String actionName)

Set the actionName property: Action name.

MicrosoftGraphDeviceActionResult withActionState(MicrosoftGraphActionState actionState)

Set the actionState property: actionState.

MicrosoftGraphDeviceActionResult withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Device action result.

MicrosoftGraphDeviceActionResult withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)

Set the lastUpdatedDateTime property: Time the action state was last updated.

MicrosoftGraphDeviceActionResult withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: Time the action was initiated.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDeviceActionResult

public MicrosoftGraphDeviceActionResult()

Creates an instance of MicrosoftGraphDeviceActionResult class.

Method Details

actionName

public String actionName()

Get the actionName property: Action name.

Returns:

the actionName value.

actionState

public MicrosoftGraphActionState actionState()

Get the actionState property: actionState.

Returns:

the actionState value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Device action result.

Returns:

the additionalProperties value.

lastUpdatedDateTime

public OffsetDateTime lastUpdatedDateTime()

Get the lastUpdatedDateTime property: Time the action state was last updated.

Returns:

the lastUpdatedDateTime value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: Time the action was initiated.

Returns:

the startDateTime value.

validate

public void validate()

Validates the instance.

withActionName

public MicrosoftGraphDeviceActionResult withActionName(String actionName)

Set the actionName property: Action name.

Parameters:

actionName - the actionName value to set.

Returns:

the MicrosoftGraphDeviceActionResult object itself.

withActionState

public MicrosoftGraphDeviceActionResult withActionState(MicrosoftGraphActionState actionState)

Set the actionState property: actionState.

Parameters:

actionState - the actionState value to set.

Returns:

the MicrosoftGraphDeviceActionResult object itself.

withAdditionalProperties

public MicrosoftGraphDeviceActionResult withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Device action result.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDeviceActionResult object itself.

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.

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.

Applies to