Class MicrosoftGraphTeamsAsyncOperation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsAsyncOperation
teamsAsyncOperation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTeamsAsyncOperation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: teamsAsyncOperation.Get the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.Get the createdDateTime property: Time when the operation was created.error()Get the error property: operationError.Get the lastActionDateTime property: Time when the async operation was last updated.Get the operationType property: teamsAsyncOperationType.status()Get the status property: teamsAsyncOperationStatus.Get the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.Get the targetResourceLocation property: The location of the object that's created or modified as result of this async operation.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamsAsyncOperation.withAttemptsCount(Integer attemptsCount) Set the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Time when the operation was created.Set the error property: operationError.Set the id property: Read-only.withLastActionDateTime(OffsetDateTime lastActionDateTime) Set the lastActionDateTime property: Time when the async operation was last updated.withOperationType(MicrosoftGraphTeamsAsyncOperationType operationType) Set the operationType property: teamsAsyncOperationType.Set the status property: teamsAsyncOperationStatus.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.withTargetResourceLocation(String targetResourceLocation) Set the targetResourceLocation property: The location of the object that's created or modified as result of this async operation.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphTeamsAsyncOperation
public MicrosoftGraphTeamsAsyncOperation()Creates an instance of MicrosoftGraphTeamsAsyncOperation class.
-
-
Method Details
-
attemptsCount
Get the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.- Returns:
- the attemptsCount value.
-
withAttemptsCount
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
Get the createdDateTime property: Time when the operation was created.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
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
Get the lastActionDateTime property: Time when the async operation was last updated.- Returns:
- the lastActionDateTime value.
-
withLastActionDateTime
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
Get the operationType property: teamsAsyncOperationType.- Returns:
- the operationType value.
-
withOperationType
public MicrosoftGraphTeamsAsyncOperation withOperationType(MicrosoftGraphTeamsAsyncOperationType operationType) 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
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
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
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
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
Get the additionalProperties property: teamsAsyncOperation.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamsAsyncOperation withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamsAsyncOperation.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTeamsAsyncOperation object itself.
-
withId
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.
-