Class DescribeServiceErrorsResult
java.lang.Object
com.amazonaws.services.opsworks.model.DescribeServiceErrorsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribeServiceErrors
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.withServiceErrors
(ServiceError... serviceErrors) An array ofServiceError
objects that describe the specified service errors.withServiceErrors
(Collection<ServiceError> serviceErrors) An array ofServiceError
objects that describe the specified service errors.
-
Constructor Details
-
DescribeServiceErrorsResult
public DescribeServiceErrorsResult()
-
-
Method Details
-
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
An array of
ServiceError
objects that describe the specified service errors.- Parameters:
serviceErrors
- An array ofServiceError
objects that describe the specified service errors.
-
withServiceErrors
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-