Class MicrosoftGraphTeamsAsyncOperation

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsAsyncOperation

public final class MicrosoftGraphTeamsAsyncOperation extends MicrosoftGraphEntity
teamsAsyncOperation.
  • Constructor Details

    • MicrosoftGraphTeamsAsyncOperation

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

    • attemptsCount

      public Integer attemptsCount()
      Get the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.
      Returns:
      the attemptsCount value.
    • withAttemptsCount

      public MicrosoftGraphTeamsAsyncOperation withAttemptsCount(Integer attemptsCount)
      Set the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.
      Parameters:
      attemptsCount - the attemptsCount value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • createdDateTime

      public OffsetDateTime createdDateTime()
      Get the createdDateTime property: Time when the operation was created.
      Returns:
      the createdDateTime value.
    • withCreatedDateTime

      public MicrosoftGraphTeamsAsyncOperation withCreatedDateTime(OffsetDateTime createdDateTime)
      Set the createdDateTime property: Time when the operation was created.
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • error

      Get the error property: operationError.
      Returns:
      the error value.
    • withError

      Set the error property: operationError.
      Parameters:
      error - the error value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • lastActionDateTime

      public OffsetDateTime lastActionDateTime()
      Get the lastActionDateTime property: Time when the async operation was last updated.
      Returns:
      the lastActionDateTime value.
    • withLastActionDateTime

      public MicrosoftGraphTeamsAsyncOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
      Set the lastActionDateTime property: Time when the async operation was last updated.
      Parameters:
      lastActionDateTime - the lastActionDateTime value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • operationType

      public MicrosoftGraphTeamsAsyncOperationType operationType()
      Get the operationType property: teamsAsyncOperationType.
      Returns:
      the operationType value.
    • withOperationType

      Set the operationType property: teamsAsyncOperationType.
      Parameters:
      operationType - the operationType value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • status

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

      Set the status property: teamsAsyncOperationStatus.
      Parameters:
      status - the status value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • targetResourceId

      public String targetResourceId()
      Get the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.
      Returns:
      the targetResourceId value.
    • withTargetResourceId

      public MicrosoftGraphTeamsAsyncOperation withTargetResourceId(String targetResourceId)
      Set the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.
      Parameters:
      targetResourceId - the targetResourceId value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • targetResourceLocation

      public String targetResourceLocation()
      Get the targetResourceLocation property: The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths.
      Returns:
      the targetResourceLocation value.
    • withTargetResourceLocation

      public MicrosoftGraphTeamsAsyncOperation withTargetResourceLocation(String targetResourceLocation)
      Set the targetResourceLocation property: The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths.
      Parameters:
      targetResourceLocation - the targetResourceLocation value to set.
      Returns:
      the MicrosoftGraphTeamsAsyncOperation object itself.
    • additionalProperties

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

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

      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.