OperationStatus Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. OperationStatus
- com.
public final class OperationStatus
A status describing the success/failure of the enablement/disablement operation.
Constructor Summary
Constructor | Description |
---|---|
OperationStatus() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The operation status code. |
String |
message()
Get the message property: Additional information regarding the success/failure of the operation. |
void |
validate()
Validates the instance. |
Operation |
withCode(String code)
Set the code property: The operation status code. |
Operation |
withMessage(String message)
Set the message property: Additional information regarding the success/failure of the operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationStatus
public OperationStatus()
Creates an instance of OperationStatus class.
Method Details
code
public String code()
Get the code property: The operation status code.
Returns:
message
public String message()
Get the message property: Additional information regarding the success/failure of the operation.
Returns:
validate
public void validate()
Validates the instance.
withCode
public OperationStatus withCode(String code)
Set the code property: The operation status code.
Parameters:
Returns:
withMessage
public OperationStatus withMessage(String message)
Set the message property: Additional information regarding the success/failure of the operation.
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