Operation Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. knowledge. qnamaker. models. Operation
- com.
public class Operation
Record to track long running operation.
Constructor Summary
Constructor | Description | |
---|---|---|
Operation() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
Operation
public Operation()
Method Details
createdTimestamp
public String createdTimestamp()
Get the createdTimestamp value.
Returns:
errorResponse
public ErrorResponse errorResponse()
Get the errorResponse value.
Returns:
lastActionTimestamp
public String lastActionTimestamp()
Get the lastActionTimestamp value.
Returns:
operationId
public String operationId()
Get the operationId value.
Returns:
operationState
public OperationStateType operationState()
Get the operationState value.
Returns:
resourceLocation
public String resourceLocation()
Get the resourceLocation value.
Returns:
userId
public String userId()
Get the userId value.
Returns:
withCreatedTimestamp
public Operation withCreatedTimestamp(String createdTimestamp)
Set the createdTimestamp value.
Parameters:
Returns:
withErrorResponse
public Operation withErrorResponse(ErrorResponse errorResponse)
Set the errorResponse value.
Parameters:
Returns:
withLastActionTimestamp
public Operation withLastActionTimestamp(String lastActionTimestamp)
Set the lastActionTimestamp value.
Parameters:
Returns:
withOperationId
public Operation withOperationId(String operationId)
Set the operationId value.
Parameters:
Returns:
withOperationState
public Operation withOperationState(OperationStateType operationState)
Set the operationState value.
Parameters:
Returns:
withResourceLocation
public Operation withResourceLocation(String resourceLocation)
Set the resourceLocation value.
Parameters:
Returns:
withUserId
public Operation withUserId(String userId)
Set the userId value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for