@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCurrentUserDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetCurrentUserDataResult() |
| Modifier and Type | Method and Description |
|---|---|
GetCurrentUserDataResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<UserData> |
getUserDataList()
A list of the user data that is returned.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setUserDataList(Collection<UserData> userDataList)
A list of the user data that is returned.
|
String |
toString()
Returns a string representation of this object.
|
GetCurrentUserDataResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
GetCurrentUserDataResult |
withUserDataList(Collection<UserData> userDataList)
A list of the user data that is returned.
|
GetCurrentUserDataResult |
withUserDataList(UserData... userDataList)
A list of the user data that is returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public GetCurrentUserDataResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public List<UserData> getUserDataList()
A list of the user data that is returned.
public void setUserDataList(Collection<UserData> userDataList)
A list of the user data that is returned.
userDataList - A list of the user data that is returned.public GetCurrentUserDataResult withUserDataList(UserData... userDataList)
A list of the user data that is returned.
NOTE: This method appends the values to the existing list (if any). Use
setUserDataList(java.util.Collection) or withUserDataList(java.util.Collection) if you want to
override the existing values.
userDataList - A list of the user data that is returned.public GetCurrentUserDataResult withUserDataList(Collection<UserData> userDataList)
A list of the user data that is returned.
userDataList - A list of the user data that is returned.public String toString()
toString in class ObjectObject.toString()public GetCurrentUserDataResult clone()