@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorRootCauseEntity extends Object implements Serializable, Cloneable, StructuredPojo
A collection of segments and corresponding subsegments associated to a trace summary error.
| Constructor and Description |
|---|
ErrorRootCauseEntity() |
| Modifier and Type | Method and Description |
|---|---|
ErrorRootCauseEntity |
clone() |
boolean |
equals(Object obj) |
List<RootCauseException> |
getExceptions()
The types and messages of the exceptions.
|
String |
getName()
The name of the entity.
|
Boolean |
getRemote()
A flag that denotes a remote subsegment.
|
int |
hashCode() |
Boolean |
isRemote()
A flag that denotes a remote subsegment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
|
void |
setName(String name)
The name of the entity.
|
void |
setRemote(Boolean remote)
A flag that denotes a remote subsegment.
|
String |
toString()
Returns a string representation of this object.
|
ErrorRootCauseEntity |
withExceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
|
ErrorRootCauseEntity |
withExceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
|
ErrorRootCauseEntity |
withName(String name)
The name of the entity.
|
ErrorRootCauseEntity |
withRemote(Boolean remote)
A flag that denotes a remote subsegment.
|
public void setName(String name)
The name of the entity.
name - The name of the entity.public String getName()
The name of the entity.
public ErrorRootCauseEntity withName(String name)
The name of the entity.
name - The name of the entity.public List<RootCauseException> getExceptions()
The types and messages of the exceptions.
public void setExceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
exceptions - The types and messages of the exceptions.public ErrorRootCauseEntity withExceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
NOTE: This method appends the values to the existing list (if any). Use
setExceptions(java.util.Collection) or withExceptions(java.util.Collection) if you want to
override the existing values.
exceptions - The types and messages of the exceptions.public ErrorRootCauseEntity withExceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
exceptions - The types and messages of the exceptions.public void setRemote(Boolean remote)
A flag that denotes a remote subsegment.
remote - A flag that denotes a remote subsegment.public Boolean getRemote()
A flag that denotes a remote subsegment.
public ErrorRootCauseEntity withRemote(Boolean remote)
A flag that denotes a remote subsegment.
remote - A flag that denotes a remote subsegment.public Boolean isRemote()
A flag that denotes a remote subsegment.
public String toString()
toString in class ObjectObject.toString()public ErrorRootCauseEntity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.