Class DescribeServiceErrorsResult

java.lang.Object
com.amazonaws.services.opsworks.model.DescribeServiceErrorsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeServiceErrorsResult extends Object implements Serializable, Cloneable

Contains the response to a DescribeServiceErrors request.

See Also:
  • Constructor Details

    • DescribeServiceErrorsResult

      public DescribeServiceErrorsResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object