@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchProfilesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchProfilesResult() |
Modifier and Type | Method and Description |
---|---|
SearchProfilesResult |
clone() |
boolean |
equals(Object obj) |
List<Profile> |
getItems()
The list of Profiles matching the search criteria.
|
String |
getNextToken()
The pagination token from the previous SearchProfiles API call.
|
int |
hashCode() |
void |
setItems(Collection<Profile> items)
The list of Profiles matching the search criteria.
|
void |
setNextToken(String nextToken)
The pagination token from the previous SearchProfiles API call.
|
String |
toString()
Returns a string representation of this object.
|
SearchProfilesResult |
withItems(Collection<Profile> items)
The list of Profiles matching the search criteria.
|
SearchProfilesResult |
withItems(Profile... items)
The list of Profiles matching the search criteria.
|
SearchProfilesResult |
withNextToken(String nextToken)
The pagination token from the previous SearchProfiles API call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Profile> getItems()
The list of Profiles matching the search criteria.
public void setItems(Collection<Profile> items)
The list of Profiles matching the search criteria.
items
- The list of Profiles matching the search criteria.public SearchProfilesResult withItems(Profile... items)
The list of Profiles matching the search criteria.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The list of Profiles matching the search criteria.public SearchProfilesResult withItems(Collection<Profile> items)
The list of Profiles matching the search criteria.
items
- The list of Profiles matching the search criteria.public void setNextToken(String nextToken)
The pagination token from the previous SearchProfiles API call.
nextToken
- The pagination token from the previous SearchProfiles API call.public String getNextToken()
The pagination token from the previous SearchProfiles API call.
public SearchProfilesResult withNextToken(String nextToken)
The pagination token from the previous SearchProfiles API call.
nextToken
- The pagination token from the previous SearchProfiles API call.public String toString()
toString
in class Object
Object.toString()
public SearchProfilesResult clone()