Class DescribeServiceErrorsResult

    • Constructor Detail

      • DescribeServiceErrorsResult

        public DescribeServiceErrorsResult()
    • Method Detail

      • getServiceErrors

        public List<ServiceError> getServiceErrors()

        An array of ServiceError objects that describe the specified service errors.

        Returns:
        An array of ServiceError objects that describe the specified service errors.
      • setServiceErrors

        public void setServiceErrors​(Collection<ServiceError> serviceErrors)

        An array of ServiceError objects that describe the specified service errors.

        Parameters:
        serviceErrors - An array of ServiceError objects that describe the specified service errors.
      • withServiceErrors

        public DescribeServiceErrorsResult withServiceErrors​(ServiceError... serviceErrors)

        An array of ServiceError objects that describe the specified service errors.

        NOTE: This method appends the values to the existing list (if any). Use setServiceErrors(java.util.Collection) or withServiceErrors(java.util.Collection) if you want to override the existing values.

        Parameters:
        serviceErrors - An array of ServiceError objects that describe the specified service errors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withServiceErrors

        public DescribeServiceErrorsResult withServiceErrors​(Collection<ServiceError> serviceErrors)

        An array of ServiceError objects that describe the specified service errors.

        Parameters:
        serviceErrors - An array of ServiceError objects that describe the specified service errors.
        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