@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaultRootCauseEntity extends Object implements Serializable, Cloneable, StructuredPojo
A collection of segments and corresponding subsegments associated to a trace summary fault error.
Constructor and Description |
---|
FaultRootCauseEntity() |
Modifier and Type | Method and Description |
---|---|
FaultRootCauseEntity |
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) |
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.
|
FaultRootCauseEntity |
withExceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
|
FaultRootCauseEntity |
withExceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
|
FaultRootCauseEntity |
withName(String name)
The name of the entity.
|
FaultRootCauseEntity |
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 FaultRootCauseEntity 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 FaultRootCauseEntity 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 FaultRootCauseEntity 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 FaultRootCauseEntity 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 Object
Object.toString()
public FaultRootCauseEntity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.