@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) |
Boolean |
getClientImpacting()
A flag that denotes that the root cause impacts the trace client.
|
List<ErrorRootCauseService> |
getServices()
A list of services corresponding to an error.
|
int |
hashCode() |
Boolean |
isClientImpacting()
A flag that denotes that the root cause impacts the trace client.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientImpacting(Boolean clientImpacting)
A flag that denotes that the root cause impacts the trace client.
|
void |
setServices(Collection<ErrorRootCauseService> services)
A list of services corresponding to an error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorRootCause |
withClientImpacting(Boolean clientImpacting)
A flag that denotes that the root cause impacts the trace client.
|
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 void setClientImpacting(Boolean clientImpacting)
A flag that denotes that the root cause impacts the trace client.
clientImpacting
- A flag that denotes that the root cause impacts the trace client.public Boolean getClientImpacting()
A flag that denotes that the root cause impacts the trace client.
public ErrorRootCause withClientImpacting(Boolean clientImpacting)
A flag that denotes that the root cause impacts the trace client.
clientImpacting
- A flag that denotes that the root cause impacts the trace client.public Boolean isClientImpacting()
A flag that denotes that the root cause impacts the trace client.
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.