@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()
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
List<ProfileSummary> |
getProfiles()
Returns an array of
ProfileSummary objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
void |
setProfiles(Collection<ProfileSummary> profiles)
Returns an array of
ProfileSummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListProfilesResult |
withNextToken(String nextToken)
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
ListProfilesResult |
withProfiles(Collection<ProfileSummary> profiles)
Returns an array of
ProfileSummary objects. |
ListProfilesResult |
withProfiles(ProfileSummary... profiles)
Returns an array of
ProfileSummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProfileSummary> getProfiles()
Returns an array of ProfileSummary
objects.
ProfileSummary
objects.public void setProfiles(Collection<ProfileSummary> profiles)
Returns an array of ProfileSummary
objects.
profiles
- Returns an array of ProfileSummary
objects.public ListProfilesResult withProfiles(ProfileSummary... profiles)
Returns an array of ProfileSummary
objects.
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
- Returns an array of ProfileSummary
objects.public ListProfilesResult withProfiles(Collection<ProfileSummary> profiles)
Returns an array of ProfileSummary
objects.
profiles
- Returns an array of ProfileSummary
objects.public void setNextToken(String nextToken)
When additional results are obtained from the command, a NextToken
parameter is returned in the
output. You can then pass the NextToken
parameter in a subsequent command to continue listing
additional resources.
nextToken
- When additional results are obtained from the command, a NextToken
parameter is returned in
the output. You can then pass the NextToken
parameter in a subsequent command to continue
listing additional resources.public String getNextToken()
When additional results are obtained from the command, a NextToken
parameter is returned in the
output. You can then pass the NextToken
parameter in a subsequent command to continue listing
additional resources.
NextToken
parameter is returned in
the output. You can then pass the NextToken
parameter in a subsequent command to continue
listing additional resources.public ListProfilesResult withNextToken(String nextToken)
When additional results are obtained from the command, a NextToken
parameter is returned in the
output. You can then pass the NextToken
parameter in a subsequent command to continue listing
additional resources.
nextToken
- When additional results are obtained from the command, a NextToken
parameter is returned in
the output. You can then pass the NextToken
parameter in a subsequent command to continue
listing additional resources.public String toString()
toString
in class Object
Object.toString()
public ListProfilesResult clone()