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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeServiceErrorsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeServiceErrorsResult
clone()
boolean
equals(Object obj)
List<ServiceError>
getServiceErrors()
An array ofServiceError
objects that describe the specified service errors.int
hashCode()
void
setServiceErrors(Collection<ServiceError> serviceErrors)
An array ofServiceError
objects that describe the specified service errors.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeServiceErrorsResult
withServiceErrors(ServiceError... serviceErrors)
An array ofServiceError
objects that describe the specified service errors.DescribeServiceErrorsResult
withServiceErrors(Collection<ServiceError> serviceErrors)
An array ofServiceError
objects that describe the specified service errors.
-
-
-
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 ofServiceError
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)
orwithServiceErrors(java.util.Collection)
if you want to override the existing values.- Parameters:
serviceErrors
- An array ofServiceError
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 ofServiceError
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeServiceErrorsResult clone()
-
-