Class Operation


  • public class Operation
    extends Object
    Record to track long running operation.
    • Constructor Detail

      • Operation

        public Operation()
    • Method Detail

      • operationState

        public OperationStateType operationState()
        Get the operationState value.
        Returns:
        the operationState value
      • withOperationState

        public Operation withOperationState​(OperationStateType operationState)
        Set the operationState value.
        Parameters:
        operationState - the operationState value to set
        Returns:
        the Operation object itself.
      • createdTimestamp

        public String createdTimestamp()
        Get the createdTimestamp value.
        Returns:
        the createdTimestamp value
      • withCreatedTimestamp

        public Operation withCreatedTimestamp​(String createdTimestamp)
        Set the createdTimestamp value.
        Parameters:
        createdTimestamp - the createdTimestamp value to set
        Returns:
        the Operation object itself.
      • lastActionTimestamp

        public String lastActionTimestamp()
        Get the lastActionTimestamp value.
        Returns:
        the lastActionTimestamp value
      • withLastActionTimestamp

        public Operation withLastActionTimestamp​(String lastActionTimestamp)
        Set the lastActionTimestamp value.
        Parameters:
        lastActionTimestamp - the lastActionTimestamp value to set
        Returns:
        the Operation object itself.
      • resourceLocation

        public String resourceLocation()
        Get the resourceLocation value.
        Returns:
        the resourceLocation value
      • withResourceLocation

        public Operation withResourceLocation​(String resourceLocation)
        Set the resourceLocation value.
        Parameters:
        resourceLocation - the resourceLocation value to set
        Returns:
        the Operation object itself.
      • userId

        public String userId()
        Get the userId value.
        Returns:
        the userId value
      • withUserId

        public Operation withUserId​(String userId)
        Set the userId value.
        Parameters:
        userId - the userId value to set
        Returns:
        the Operation object itself.
      • operationId

        public String operationId()
        Get the operationId value.
        Returns:
        the operationId value
      • withOperationId

        public Operation withOperationId​(String operationId)
        Set the operationId value.
        Parameters:
        operationId - the operationId value to set
        Returns:
        the Operation object itself.
      • errorResponse

        public ErrorResponse errorResponse()
        Get the errorResponse value.
        Returns:
        the errorResponse value
      • withErrorResponse

        public Operation withErrorResponse​(ErrorResponse errorResponse)
        Set the errorResponse value.
        Parameters:
        errorResponse - the errorResponse value to set
        Returns:
        the Operation object itself.