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 Summary
Constructors Constructor Description MicrosoftGraphTeamsAsyncOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: teamsAsyncOperation.IntegerattemptsCount()Get the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.OffsetDateTimecreatedDateTime()Get the createdDateTime property: Time when the operation was created.MicrosoftGraphOperationErrorerror()Get the error property: operationError.OffsetDateTimelastActionDateTime()Get the lastActionDateTime property: Time when the async operation was last updated.MicrosoftGraphTeamsAsyncOperationTypeoperationType()Get the operationType property: The operationType property.MicrosoftGraphTeamsAsyncOperationStatusstatus()Get the status property: The status property.StringtargetResourceId()Get the targetResourceId property: The ID of the object that's created or modified as result of this async operation, typically a team.StringtargetResourceLocation()Get the targetResourceLocation property: The location of the object that's created or modified as result of this async operation.voidvalidate()Validates the instance.MicrosoftGraphTeamsAsyncOperationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: teamsAsyncOperation.MicrosoftGraphTeamsAsyncOperationwithAttemptsCount(Integer attemptsCount)Set the attemptsCount property: Number of times the operation was attempted before being marked successful or failed.MicrosoftGraphTeamsAsyncOperationwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Time when the operation was created.MicrosoftGraphTeamsAsyncOperationwithError(MicrosoftGraphOperationError error)Set the error property: operationError.MicrosoftGraphTeamsAsyncOperationwithId(String id)Set the id property: Read-only.MicrosoftGraphTeamsAsyncOperationwithLastActionDateTime(OffsetDateTime lastActionDateTime)Set the lastActionDateTime property: Time when the async operation was last updated.MicrosoftGraphTeamsAsyncOperationwithOperationType(MicrosoftGraphTeamsAsyncOperationType operationType)Set the operationType property: The operationType property.MicrosoftGraphTeamsAsyncOperationwithStatus(MicrosoftGraphTeamsAsyncOperationStatus status)Set the status property: The status property.MicrosoftGraphTeamsAsyncOperationwithTargetResourceId(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.MicrosoftGraphTeamsAsyncOperationwithTargetResourceLocation(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
-
-
-
-
Method Detail
-
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
public MicrosoftGraphOperationError error()
Get the error property: operationError.- Returns:
- the error value.
-
withError
public MicrosoftGraphTeamsAsyncOperation withError(MicrosoftGraphOperationError error)
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: The operationType property.- Returns:
- the operationType value.
-
withOperationType
public MicrosoftGraphTeamsAsyncOperation withOperationType(MicrosoftGraphTeamsAsyncOperationType operationType)
Set the operationType property: The operationType property.- Parameters:
operationType- the operationType value to set.- Returns:
- the MicrosoftGraphTeamsAsyncOperation object itself.
-
status
public MicrosoftGraphTeamsAsyncOperationStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphTeamsAsyncOperation withStatus(MicrosoftGraphTeamsAsyncOperationStatus status)
Set the status property: The status property.- 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:
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
public MicrosoftGraphTeamsAsyncOperation withId(String id)
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.
-
-