Class OperationResult


  • public class OperationResult
    extends Object
    Operation status for the operation.
    • Constructor Detail

      • OperationResult

        public OperationResult()
    • Method Detail

      • getStatus

        public String getStatus()
        Get the status property: Operation status.
        Returns:
        the status value.
      • getCode

        public String getCode()
        Get the code property: Error code.
        Returns:
        the code value.
      • setCode

        public OperationResult setCode​(String code)
        Set the code property: Error code.
        Parameters:
        code - the code value to set.
        Returns:
        the OperationResult object itself.
      • getMessage

        public String getMessage()
        Get the message property: Error message.
        Returns:
        the message value.
      • setMessage

        public OperationResult setMessage​(String message)
        Set the message property: Error message.
        Parameters:
        message - the message value to set.
        Returns:
        the OperationResult object itself.
      • getTarget

        public String getTarget()
        Get the target property: Property name/path in request associated with error.
        Returns:
        the target value.
      • setTarget

        public OperationResult setTarget​(String target)
        Set the target property: Property name/path in request associated with error.
        Parameters:
        target - the target value to set.
        Returns:
        the OperationResult object itself.
      • getDetails

        public List<CloudError> getDetails()
        Get the details property: Array with additional error details.
        Returns:
        the details value.
      • setDetails

        public OperationResult setDetails​(List<CloudError> details)
        Set the details property: Array with additional error details.
        Parameters:
        details - the details value to set.
        Returns:
        the OperationResult object itself.