@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServiceErrorsResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 Object
Object.toString()
public DescribeServiceErrorsResult clone()