@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; useful for testing and debugging.
|
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.