@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorRootCause extends Object implements Serializable, Cloneable, StructuredPojo
The root cause of a trace summary error.
Constructor and Description |
---|
ErrorRootCause() |
Modifier and Type | Method and Description |
---|---|
ErrorRootCause |
clone() |
boolean |
equals(Object obj) |
List<ErrorRootCauseService> |
getServices()
A list of services corresponding to an error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServices(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorRootCause |
withServices(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error.
|
ErrorRootCause |
withServices(ErrorRootCauseService... services)
A list of services corresponding to an error.
|
public List<ErrorRootCauseService> getServices()
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
public void setServices(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
services
- A list of services corresponding to an error. A service identifies a segment and it contains a name,
account ID, type, and inferred flag.public ErrorRootCause withServices(ErrorRootCauseService... services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection)
or withServices(java.util.Collection)
if you want to override
the existing values.
services
- A list of services corresponding to an error. A service identifies a segment and it contains a name,
account ID, type, and inferred flag.public ErrorRootCause withServices(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
services
- A list of services corresponding to an error. A service identifies a segment and it contains a name,
account ID, type, and inferred flag.public String toString()
toString
in class Object
Object.toString()
public ErrorRootCause clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.