Class MicrosoftGraphOperation

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperation
Direct Known Subclasses:
MicrosoftGraphOnenoteOperation

public class MicrosoftGraphOperation extends MicrosoftGraphEntity
operation.
  • Constructor Details

    • MicrosoftGraphOperation

      public MicrosoftGraphOperation()
      Creates an instance of MicrosoftGraphOperation class.
  • Method Details

    • createdDateTime

      public OffsetDateTime createdDateTime()
      Get the createdDateTime property: The start time of the operation.
      Returns:
      the createdDateTime value.
    • withCreatedDateTime

      public MicrosoftGraphOperation withCreatedDateTime(OffsetDateTime createdDateTime)
      Set the createdDateTime property: The start time of the operation.
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • lastActionDateTime

      public OffsetDateTime lastActionDateTime()
      Get the lastActionDateTime property: The time of the last action of the operation.
      Returns:
      the lastActionDateTime value.
    • withLastActionDateTime

      public MicrosoftGraphOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
      Set the lastActionDateTime property: The time of the last action of the operation.
      Parameters:
      lastActionDateTime - the lastActionDateTime value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • status

      Get the status property: operationStatus.
      Returns:
      the status value.
    • withStatus

      Set the status property: operationStatus.
      Parameters:
      status - the status value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: operation.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOperation withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: operation.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOperation object itself.
    • withId

      public MicrosoftGraphOperation withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.