@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()
Returns a token that you can use to call
ListProfiles again and receive additional results, if there
are any. |
List<ListedProfile> |
getProfiles()
Returns an array, where each item contains the details of a profile.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Returns a token that you can use to call
ListProfiles again and receive additional results, if there
are any. |
void |
setProfiles(Collection<ListedProfile> profiles)
Returns an array, where each item contains the details of a profile.
|
String |
toString()
Returns a string representation of this object.
|
ListProfilesResult |
withNextToken(String nextToken)
Returns a token that you can use to call
ListProfiles again and receive additional results, if there
are any. |
ListProfilesResult |
withProfiles(Collection<ListedProfile> profiles)
Returns an array, where each item contains the details of a profile.
|
ListProfilesResult |
withProfiles(ListedProfile... profiles)
Returns an array, where each item contains the details of a profile.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Returns a token that you can use to call ListProfiles
again and receive additional results, if there
are any.
nextToken
- Returns a token that you can use to call ListProfiles
again and receive additional results,
if there are any.public String getNextToken()
Returns a token that you can use to call ListProfiles
again and receive additional results, if there
are any.
ListProfiles
again and receive additional results,
if there are any.public ListProfilesResult withNextToken(String nextToken)
Returns a token that you can use to call ListProfiles
again and receive additional results, if there
are any.
nextToken
- Returns a token that you can use to call ListProfiles
again and receive additional results,
if there are any.public List<ListedProfile> getProfiles()
Returns an array, where each item contains the details of a profile.
public void setProfiles(Collection<ListedProfile> profiles)
Returns an array, where each item contains the details of a profile.
profiles
- Returns an array, where each item contains the details of a profile.public ListProfilesResult withProfiles(ListedProfile... profiles)
Returns an array, where each item contains the details of a profile.
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, where each item contains the details of a profile.public ListProfilesResult withProfiles(Collection<ListedProfile> profiles)
Returns an array, where each item contains the details of a profile.
profiles
- Returns an array, where each item contains the details of a profile.public String toString()
toString
in class Object
Object.toString()
public ListProfilesResult clone()