@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListContentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListContentsResult |
clone() |
boolean |
equals(Object obj) |
List<ContentSummary> |
getContentSummaries()
Information about the content.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setContentSummaries(Collection<ContentSummary> contentSummaries)
Information about the content.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListContentsResult |
withContentSummaries(Collection<ContentSummary> contentSummaries)
Information about the content.
|
ListContentsResult |
withContentSummaries(ContentSummary... contentSummaries)
Information about the content.
|
ListContentsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ContentSummary> getContentSummaries()
Information about the content.
public void setContentSummaries(Collection<ContentSummary> contentSummaries)
Information about the content.
contentSummaries - Information about the content.public ListContentsResult withContentSummaries(ContentSummary... contentSummaries)
Information about the content.
NOTE: This method appends the values to the existing list (if any). Use
setContentSummaries(java.util.Collection) or withContentSummaries(java.util.Collection) if you
want to override the existing values.
contentSummaries - Information about the content.public ListContentsResult withContentSummaries(Collection<ContentSummary> contentSummaries)
Information about the content.
contentSummaries - Information about the content.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListContentsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public String toString()
toString in class ObjectObject.toString()public ListContentsResult clone()