@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TraceUser extends Object implements Serializable, Cloneable, StructuredPojo
Information about a user recorded in segment documents.
| Constructor and Description |
|---|
TraceUser() |
| Modifier and Type | Method and Description |
|---|---|
TraceUser |
clone() |
boolean |
equals(Object obj) |
List<ServiceId> |
getServiceIds()
Services that the user's request hit.
|
String |
getUserName()
The user's name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setServiceIds(Collection<ServiceId> serviceIds)
Services that the user's request hit.
|
void |
setUserName(String userName)
The user's name.
|
String |
toString()
Returns a string representation of this object.
|
TraceUser |
withServiceIds(Collection<ServiceId> serviceIds)
Services that the user's request hit.
|
TraceUser |
withServiceIds(ServiceId... serviceIds)
Services that the user's request hit.
|
TraceUser |
withUserName(String userName)
The user's name.
|
public void setUserName(String userName)
The user's name.
userName - The user's name.public String getUserName()
The user's name.
public TraceUser withUserName(String userName)
The user's name.
userName - The user's name.public List<ServiceId> getServiceIds()
Services that the user's request hit.
public void setServiceIds(Collection<ServiceId> serviceIds)
Services that the user's request hit.
serviceIds - Services that the user's request hit.public TraceUser withServiceIds(ServiceId... serviceIds)
Services that the user's request hit.
NOTE: This method appends the values to the existing list (if any). Use
setServiceIds(java.util.Collection) or withServiceIds(java.util.Collection) if you want to
override the existing values.
serviceIds - Services that the user's request hit.public TraceUser withServiceIds(Collection<ServiceId> serviceIds)
Services that the user's request hit.
serviceIds - Services that the user's request hit.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.