@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProfilesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProfilesResult() |
Modifier and Type | Method and Description |
---|---|
ListProfilesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates where the output should continue from, if a previous request did not show all results.
|
List<ProfileDetail> |
getProfiles()
A list of profiles.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results.
|
void |
setProfiles(Collection<ProfileDetail> profiles)
A list of profiles.
|
String |
toString()
Returns a string representation of this object.
|
ListProfilesResult |
withNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results.
|
ListProfilesResult |
withProfiles(Collection<ProfileDetail> profiles)
A list of profiles.
|
ListProfilesResult |
withProfiles(ProfileDetail... profiles)
A list of profiles.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
nextToken
- A token that indicates where the output should continue from, if a previous request did not show all
results. To get the next results, make the request again with this value.public String getNextToken()
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
public ListProfilesResult withNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
nextToken
- A token that indicates where the output should continue from, if a previous request did not show all
results. To get the next results, make the request again with this value.public List<ProfileDetail> getProfiles()
A list of profiles.
public void setProfiles(Collection<ProfileDetail> profiles)
A list of profiles.
profiles
- A list of profiles.public ListProfilesResult withProfiles(ProfileDetail... profiles)
A list of profiles.
NOTE: This method appends the values to the existing list (if any). Use
setProfiles(java.util.Collection)
or withProfiles(java.util.Collection)
if you want to override
the existing values.
profiles
- A list of profiles.public ListProfilesResult withProfiles(Collection<ProfileDetail> profiles)
A list of profiles.
profiles
- A list of profiles.public String toString()
toString
in class Object
Object.toString()
public ListProfilesResult clone()