@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCompositionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListCompositionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListCompositionsResult |
clone() |
boolean |
equals(Object obj) |
List<CompositionSummary> |
getCompositions()
List of the matching Compositions (summary information only).
|
String |
getNextToken()
If there are more compositions than
maxResults, use nextToken in the request to get the
next set. |
int |
hashCode() |
void |
setCompositions(Collection<CompositionSummary> compositions)
List of the matching Compositions (summary information only).
|
void |
setNextToken(String nextToken)
If there are more compositions than
maxResults, use nextToken in the request to get the
next set. |
String |
toString()
Returns a string representation of this object.
|
ListCompositionsResult |
withCompositions(Collection<CompositionSummary> compositions)
List of the matching Compositions (summary information only).
|
ListCompositionsResult |
withCompositions(CompositionSummary... compositions)
List of the matching Compositions (summary information only).
|
ListCompositionsResult |
withNextToken(String nextToken)
If there are more compositions than
maxResults, use nextToken in the request to get the
next set. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CompositionSummary> getCompositions()
List of the matching Compositions (summary information only).
public void setCompositions(Collection<CompositionSummary> compositions)
List of the matching Compositions (summary information only).
compositions - List of the matching Compositions (summary information only).public ListCompositionsResult withCompositions(CompositionSummary... compositions)
List of the matching Compositions (summary information only).
NOTE: This method appends the values to the existing list (if any). Use
setCompositions(java.util.Collection) or withCompositions(java.util.Collection) if you want to
override the existing values.
compositions - List of the matching Compositions (summary information only).public ListCompositionsResult withCompositions(Collection<CompositionSummary> compositions)
List of the matching Compositions (summary information only).
compositions - List of the matching Compositions (summary information only).public void setNextToken(String nextToken)
If there are more compositions than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more compositions than maxResults, use nextToken in the request to
get the next set.public String getNextToken()
If there are more compositions than maxResults, use nextToken in the request to get the
next set.
maxResults, use nextToken in the request to
get the next set.public ListCompositionsResult withNextToken(String nextToken)
If there are more compositions than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more compositions than maxResults, use nextToken in the request to
get the next set.public String toString()
toString in class ObjectObject.toString()public ListCompositionsResult clone()