OperationStatusAutoGenerated Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. OperationStatusAutoGenerated
- com.
public final class OperationStatusAutoGenerated
A status describing the success/failure of the extension's enablement/disablement operation.
Constructor Summary
Constructor | Description |
---|---|
OperationStatusAutoGenerated() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Code |
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(Code 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
OperationStatusAutoGenerated
public OperationStatusAutoGenerated()
Creates an instance of OperationStatusAutoGenerated class.
Method Details
code
public Code 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 OperationStatusAutoGenerated withCode(Code code)
Set the code property: The operation status code.
Parameters:
Returns:
withMessage
public OperationStatusAutoGenerated 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