@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProfilingGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The structure representing the listProfilingGroupsResponse.
| Constructor and Description |
|---|
ListProfilingGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListProfilingGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future ListProfilingGroups request. |
List<String> |
getProfilingGroupNames()
A returned list of profiling group names.
|
List<ProfilingGroupDescription> |
getProfilingGroups()
A returned list
ProfilingGroupDescription objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListProfilingGroups request. |
void |
setProfilingGroupNames(Collection<String> profilingGroupNames)
A returned list of profiling group names.
|
void |
setProfilingGroups(Collection<ProfilingGroupDescription> profilingGroups)
A returned list
ProfilingGroupDescription objects. |
String |
toString()
Returns a string representation of this object.
|
ListProfilingGroupsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListProfilingGroups request. |
ListProfilingGroupsResult |
withProfilingGroupNames(Collection<String> profilingGroupNames)
A returned list of profiling group names.
|
ListProfilingGroupsResult |
withProfilingGroupNames(String... profilingGroupNames)
A returned list of profiling group names.
|
ListProfilingGroupsResult |
withProfilingGroups(Collection<ProfilingGroupDescription> profilingGroups)
A returned list
ProfilingGroupDescription objects. |
ListProfilingGroupsResult |
withProfilingGroups(ProfilingGroupDescription... profilingGroups)
A returned list
ProfilingGroupDescription objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The nextToken value to include in a future ListProfilingGroups request. When the
results of a ListProfilingGroups request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListProfilingGroups request. When the
results of a ListProfilingGroups request exceed maxResults, this value can be
used to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The nextToken value to include in a future ListProfilingGroups request. When the
results of a ListProfilingGroups request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken value to include in a future ListProfilingGroups request. When
the results of a ListProfilingGroups request exceed maxResults, this value can
be used to retrieve the next page of results. This value is null when there are no more
results to return.public ListProfilingGroupsResult withNextToken(String nextToken)
The nextToken value to include in a future ListProfilingGroups request. When the
results of a ListProfilingGroups request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListProfilingGroups request. When the
results of a ListProfilingGroups request exceed maxResults, this value can be
used to retrieve the next page of results. This value is null when there are no more results
to return.public List<String> getProfilingGroupNames()
A returned list of profiling group names. A list of the names is returned only if includeDescription
is false, otherwise a list of
ProfilingGroupDescription objects is returned.
includeDescription is false, otherwise a list of
ProfilingGroupDescription objects is returned.public void setProfilingGroupNames(Collection<String> profilingGroupNames)
A returned list of profiling group names. A list of the names is returned only if includeDescription
is false, otherwise a list of
ProfilingGroupDescription objects is returned.
profilingGroupNames - A returned list of profiling group names. A list of the names is returned only if
includeDescription is false, otherwise a list of
ProfilingGroupDescription objects is returned.public ListProfilingGroupsResult withProfilingGroupNames(String... profilingGroupNames)
A returned list of profiling group names. A list of the names is returned only if includeDescription
is false, otherwise a list of
ProfilingGroupDescription objects is returned.
NOTE: This method appends the values to the existing list (if any). Use
setProfilingGroupNames(java.util.Collection) or withProfilingGroupNames(java.util.Collection)
if you want to override the existing values.
profilingGroupNames - A returned list of profiling group names. A list of the names is returned only if
includeDescription is false, otherwise a list of
ProfilingGroupDescription objects is returned.public ListProfilingGroupsResult withProfilingGroupNames(Collection<String> profilingGroupNames)
A returned list of profiling group names. A list of the names is returned only if includeDescription
is false, otherwise a list of
ProfilingGroupDescription objects is returned.
profilingGroupNames - A returned list of profiling group names. A list of the names is returned only if
includeDescription is false, otherwise a list of
ProfilingGroupDescription objects is returned.public List<ProfilingGroupDescription> getProfilingGroups()
A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription
is true, otherwise a list of profiling group names is returned.public void setProfilingGroups(Collection<ProfilingGroupDescription> profilingGroups)
A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.
profilingGroups - A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.public ListProfilingGroupsResult withProfilingGroups(ProfilingGroupDescription... profilingGroups)
A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.
NOTE: This method appends the values to the existing list (if any). Use
setProfilingGroups(java.util.Collection) or withProfilingGroups(java.util.Collection) if you
want to override the existing values.
profilingGroups - A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.public ListProfilingGroupsResult withProfilingGroups(Collection<ProfilingGroupDescription> profilingGroups)
A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.
profilingGroups - A returned list
ProfilingGroupDescription objects. A list of
ProfilingGroupDescription objects is returned only if includeDescription is
true, otherwise a list of profiling group names is returned.public String toString()
toString in class ObjectObject.toString()public ListProfilingGroupsResult clone()