@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsageProfilesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListUsageProfilesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListUsageProfilesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A continuation token, present if the current list segment is not the last.
|
List<UsageProfileDefinition> |
getProfiles()
A list of usage profile (
UsageProfileDefinition) objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token, present if the current list segment is not the last.
|
void |
setProfiles(Collection<UsageProfileDefinition> profiles)
A list of usage profile (
UsageProfileDefinition) objects. |
String |
toString()
Returns a string representation of this object.
|
ListUsageProfilesResult |
withNextToken(String nextToken)
A continuation token, present if the current list segment is not the last.
|
ListUsageProfilesResult |
withProfiles(Collection<UsageProfileDefinition> profiles)
A list of usage profile (
UsageProfileDefinition) objects. |
ListUsageProfilesResult |
withProfiles(UsageProfileDefinition... profiles)
A list of usage profile (
UsageProfileDefinition) objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<UsageProfileDefinition> getProfiles()
A list of usage profile (UsageProfileDefinition) objects.
UsageProfileDefinition) objects.public void setProfiles(Collection<UsageProfileDefinition> profiles)
A list of usage profile (UsageProfileDefinition) objects.
profiles - A list of usage profile (UsageProfileDefinition) objects.public ListUsageProfilesResult withProfiles(UsageProfileDefinition... profiles)
A list of usage profile (UsageProfileDefinition) 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 - A list of usage profile (UsageProfileDefinition) objects.public ListUsageProfilesResult withProfiles(Collection<UsageProfileDefinition> profiles)
A list of usage profile (UsageProfileDefinition) objects.
profiles - A list of usage profile (UsageProfileDefinition) objects.public void setNextToken(String nextToken)
A continuation token, present if the current list segment is not the last.
nextToken - A continuation token, present if the current list segment is not the last.public String getNextToken()
A continuation token, present if the current list segment is not the last.
public ListUsageProfilesResult withNextToken(String nextToken)
A continuation token, present if the current list segment is not the last.
nextToken - A continuation token, present if the current list segment is not the last.public String toString()
toString in class ObjectObject.toString()public ListUsageProfilesResult clone()