@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) |
Long |
getApproximateTotalCount()
The total count of the result, regardless of the current page size.
|
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 |
setApproximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
|
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 |
withApproximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
|
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, setSdkResponseMetadata
public 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 void setApproximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
approximateTotalCount
- The total count of the result, regardless of the current page size.public Long getApproximateTotalCount()
The total count of the result, regardless of the current page size.
public GetCurrentUserDataResult withApproximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
approximateTotalCount
- The total count of the result, regardless of the current page size.public String toString()
toString
in class Object
Object.toString()
public GetCurrentUserDataResult clone()