@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the user name, server ID, and session ID for a workflow.
Constructor and Description |
---|
UserDetails() |
Modifier and Type | Method and Description |
---|---|
UserDetails |
clone() |
boolean |
equals(Object obj) |
String |
getServerId()
The system-assigned unique identifier for a Transfer server instance.
|
String |
getSessionId()
The system-assigned unique identifier for a session that corresponds to the workflow.
|
String |
getUserName()
A unique string that identifies a user account associated with a server.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServerId(String serverId)
The system-assigned unique identifier for a Transfer server instance.
|
void |
setSessionId(String sessionId)
The system-assigned unique identifier for a session that corresponds to the workflow.
|
void |
setUserName(String userName)
A unique string that identifies a user account associated with a server.
|
String |
toString()
Returns a string representation of this object.
|
UserDetails |
withServerId(String serverId)
The system-assigned unique identifier for a Transfer server instance.
|
UserDetails |
withSessionId(String sessionId)
The system-assigned unique identifier for a session that corresponds to the workflow.
|
UserDetails |
withUserName(String userName)
A unique string that identifies a user account associated with a server.
|
public void setUserName(String userName)
A unique string that identifies a user account associated with a server.
userName
- A unique string that identifies a user account associated with a server.public String getUserName()
A unique string that identifies a user account associated with a server.
public UserDetails withUserName(String userName)
A unique string that identifies a user account associated with a server.
userName
- A unique string that identifies a user account associated with a server.public void setServerId(String serverId)
The system-assigned unique identifier for a Transfer server instance.
serverId
- The system-assigned unique identifier for a Transfer server instance.public String getServerId()
The system-assigned unique identifier for a Transfer server instance.
public UserDetails withServerId(String serverId)
The system-assigned unique identifier for a Transfer server instance.
serverId
- The system-assigned unique identifier for a Transfer server instance.public void setSessionId(String sessionId)
The system-assigned unique identifier for a session that corresponds to the workflow.
sessionId
- The system-assigned unique identifier for a session that corresponds to the workflow.public String getSessionId()
The system-assigned unique identifier for a session that corresponds to the workflow.
public UserDetails withSessionId(String sessionId)
The system-assigned unique identifier for a session that corresponds to the workflow.
sessionId
- The system-assigned unique identifier for a session that corresponds to the workflow.public String toString()
toString
in class Object
Object.toString()
public UserDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.