@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorRootCauseService extends Object implements Serializable, Cloneable, StructuredPojo
A collection of fields identifying the services in a trace summary error.
| Constructor and Description | 
|---|
| ErrorRootCauseService() | 
| Modifier and Type | Method and Description | 
|---|---|
| ErrorRootCauseService | clone() | 
| boolean | equals(Object obj) | 
| String | getAccountId()
 The account ID associated to the service. | 
| List<ErrorRootCauseEntity> | getEntityPath()
 The path of root cause entities found on the service. | 
| Boolean | getInferred()
 A Boolean value indicating if the service is inferred from the trace. | 
| String | getName()
 The service name. | 
| List<String> | getNames()
 A collection of associated service names. | 
| String | getType()
 The type associated to the service. | 
| int | hashCode() | 
| Boolean | isInferred()
 A Boolean value indicating if the service is inferred from the trace. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAccountId(String accountId)
 The account ID associated to the service. | 
| void | setEntityPath(Collection<ErrorRootCauseEntity> entityPath)
 The path of root cause entities found on the service. | 
| void | setInferred(Boolean inferred)
 A Boolean value indicating if the service is inferred from the trace. | 
| void | setName(String name)
 The service name. | 
| void | setNames(Collection<String> names)
 A collection of associated service names. | 
| void | setType(String type)
 The type associated to the service. | 
| String | toString()Returns a string representation of this object. | 
| ErrorRootCauseService | withAccountId(String accountId)
 The account ID associated to the service. | 
| ErrorRootCauseService | withEntityPath(Collection<ErrorRootCauseEntity> entityPath)
 The path of root cause entities found on the service. | 
| ErrorRootCauseService | withEntityPath(ErrorRootCauseEntity... entityPath)
 The path of root cause entities found on the service. | 
| ErrorRootCauseService | withInferred(Boolean inferred)
 A Boolean value indicating if the service is inferred from the trace. | 
| ErrorRootCauseService | withName(String name)
 The service name. | 
| ErrorRootCauseService | withNames(Collection<String> names)
 A collection of associated service names. | 
| ErrorRootCauseService | withNames(String... names)
 A collection of associated service names. | 
| ErrorRootCauseService | withType(String type)
 The type associated to the service. | 
public void setName(String name)
The service name.
name - The service name.public String getName()
The service name.
public ErrorRootCauseService withName(String name)
The service name.
name - The service name.public List<String> getNames()
A collection of associated service names.
public void setNames(Collection<String> names)
A collection of associated service names.
names - A collection of associated service names.public ErrorRootCauseService withNames(String... names)
A collection of associated service names.
 NOTE: This method appends the values to the existing list (if any). Use
 setNames(java.util.Collection) or withNames(java.util.Collection) if you want to override the
 existing values.
 
names - A collection of associated service names.public ErrorRootCauseService withNames(Collection<String> names)
A collection of associated service names.
names - A collection of associated service names.public void setType(String type)
The type associated to the service.
type - The type associated to the service.public String getType()
The type associated to the service.
public ErrorRootCauseService withType(String type)
The type associated to the service.
type - The type associated to the service.public void setAccountId(String accountId)
The account ID associated to the service.
accountId - The account ID associated to the service.public String getAccountId()
The account ID associated to the service.
public ErrorRootCauseService withAccountId(String accountId)
The account ID associated to the service.
accountId - The account ID associated to the service.public List<ErrorRootCauseEntity> getEntityPath()
The path of root cause entities found on the service.
public void setEntityPath(Collection<ErrorRootCauseEntity> entityPath)
The path of root cause entities found on the service.
entityPath - The path of root cause entities found on the service.public ErrorRootCauseService withEntityPath(ErrorRootCauseEntity... entityPath)
The path of root cause entities found on the service.
 NOTE: This method appends the values to the existing list (if any). Use
 setEntityPath(java.util.Collection) or withEntityPath(java.util.Collection) if you want to
 override the existing values.
 
entityPath - The path of root cause entities found on the service.public ErrorRootCauseService withEntityPath(Collection<ErrorRootCauseEntity> entityPath)
The path of root cause entities found on the service.
entityPath - The path of root cause entities found on the service.public void setInferred(Boolean inferred)
A Boolean value indicating if the service is inferred from the trace.
inferred - A Boolean value indicating if the service is inferred from the trace.public Boolean getInferred()
A Boolean value indicating if the service is inferred from the trace.
public ErrorRootCauseService withInferred(Boolean inferred)
A Boolean value indicating if the service is inferred from the trace.
inferred - A Boolean value indicating if the service is inferred from the trace.public Boolean isInferred()
A Boolean value indicating if the service is inferred from the trace.
public String toString()
toString in class ObjectObject.toString()public ErrorRootCauseService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.