public class DescribeServiceErrorsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeServiceErrors
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ServiceError> |
serviceErrors
An array of
ServiceError objects that describe the specified
service errors. |
Constructor and Description |
---|
DescribeServiceErrorsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeServiceErrorsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ServiceError> |
getServiceErrors()
An array of
ServiceError objects that describe the specified
service errors. |
int |
hashCode() |
void |
setServiceErrors(java.util.Collection<ServiceError> serviceErrors)
An array of
ServiceError objects that describe the specified
service errors. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServiceErrorsResult |
withServiceErrors(java.util.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. |
private SdkInternalList<ServiceError> serviceErrors
An array of ServiceError
objects that describe the specified
service errors.
public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeServiceErrorsResult clone()
clone
in class java.lang.Object