Class ServiceError

    • Constructor Detail

      • ServiceError

        public ServiceError()
    • Method Detail

      • setServiceErrorId

        public void setServiceErrorId​(String serviceErrorId)

        The error ID.

        Parameters:
        serviceErrorId - The error ID.
      • getServiceErrorId

        public String getServiceErrorId()

        The error ID.

        Returns:
        The error ID.
      • withServiceErrorId

        public ServiceError withServiceErrorId​(String serviceErrorId)

        The error ID.

        Parameters:
        serviceErrorId - The error ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStackId

        public void setStackId​(String stackId)

        The stack ID.

        Parameters:
        stackId - The stack ID.
      • getStackId

        public String getStackId()

        The stack ID.

        Returns:
        The stack ID.
      • withStackId

        public ServiceError withStackId​(String stackId)

        The stack ID.

        Parameters:
        stackId - The stack ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
      • getInstanceId

        public String getInstanceId()

        The instance ID.

        Returns:
        The instance ID.
      • withInstanceId

        public ServiceError withInstanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The error type.

        Parameters:
        type - The error type.
      • getType

        public String getType()

        The error type.

        Returns:
        The error type.
      • withType

        public ServiceError withType​(String type)

        The error type.

        Parameters:
        type - The error type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMessage

        public void setMessage​(String message)

        A message that describes the error.

        Parameters:
        message - A message that describes the error.
      • getMessage

        public String getMessage()

        A message that describes the error.

        Returns:
        A message that describes the error.
      • withMessage

        public ServiceError withMessage​(String message)

        A message that describes the error.

        Parameters:
        message - A message that describes the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedAt

        public void setCreatedAt​(String createdAt)

        When the error occurred.

        Parameters:
        createdAt - When the error occurred.
      • getCreatedAt

        public String getCreatedAt()

        When the error occurred.

        Returns:
        When the error occurred.
      • withCreatedAt

        public ServiceError withCreatedAt​(String createdAt)

        When the error occurred.

        Parameters:
        createdAt - When the error occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object