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
DescribeServiceErrorsrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeServiceErrorsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeServiceErrorsResultclone()booleanequals(Object obj)List<ServiceError>getServiceErrors()An array ofServiceErrorobjects that describe the specified service errors.inthashCode()voidsetServiceErrors(Collection<ServiceError> serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeServiceErrorsResultwithServiceErrors(ServiceError... serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.DescribeServiceErrorsResultwithServiceErrors(Collection<ServiceError> serviceErrors)An array ofServiceErrorobjects that describe the specified service errors.
-
-
-
Method Detail
-
getServiceErrors
public List<ServiceError> getServiceErrors()
An array of
ServiceErrorobjects that describe the specified service errors.- Returns:
- An array of
ServiceErrorobjects that describe the specified service errors.
-
setServiceErrors
public void setServiceErrors(Collection<ServiceError> serviceErrors)
An array of
ServiceErrorobjects that describe the specified service errors.- Parameters:
serviceErrors- An array ofServiceErrorobjects that describe the specified service errors.
-
withServiceErrors
public DescribeServiceErrorsResult withServiceErrors(ServiceError... serviceErrors)
An array of
ServiceErrorobjects 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 ofServiceErrorobjects 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
ServiceErrorobjects that describe the specified service errors.- Parameters:
serviceErrors- An array ofServiceErrorobjects 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeServiceErrorsResult clone()
-
-