public class DescribeServiceErrorsResult extends Object implements Serializable, Cloneable
Contains the response to a DescribeServiceErrors request.
| Constructor and Description |
|---|
DescribeServiceErrorsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeServiceErrorsResult |
clone() |
boolean |
equals(Object obj) |
List<ServiceError> |
getServiceErrors()
An array of
ServiceError objects that describe the specified
service errors. |
int |
hashCode() |
void |
setServiceErrors(Collection<ServiceError> serviceErrors)
An array of
ServiceError objects that describe the specified
service errors. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServiceErrorsResult |
withServiceErrors(Collection<ServiceError> serviceErrors)
An array of
ServiceError objects that describe the specified
service errors. |
DescribeServiceErrorsResult |
withServiceErrors(ServiceError... serviceErrors)
An array of
ServiceError objects that describe the specified
service errors. |
public List<ServiceError> getServiceErrors()
An array of ServiceError objects that describe the specified
service errors.
ServiceError objects that describe the
specified service errors.public void setServiceErrors(Collection<ServiceError> serviceErrors)
An array of ServiceError objects that describe the specified
service errors.
serviceErrors - An array of ServiceError objects that describe the
specified service errors.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.
serviceErrors - An array of ServiceError objects that describe the
specified service errors.public DescribeServiceErrorsResult withServiceErrors(Collection<ServiceError> serviceErrors)
An array of ServiceError objects that describe the specified
service errors.
serviceErrors - An array of ServiceError objects that describe the
specified service errors.public String toString()
toString in class ObjectObject.toString()public DescribeServiceErrorsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.