@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchContentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchContentResult() |
Modifier and Type | Method and Description |
---|---|
SearchContentResult |
clone() |
boolean |
equals(Object obj) |
List<ContentSummary> |
getContentSummaries()
Summary 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)
Summary 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.
|
SearchContentResult |
withContentSummaries(Collection<ContentSummary> contentSummaries)
Summary information about the content.
|
SearchContentResult |
withContentSummaries(ContentSummary... contentSummaries)
Summary information about the content.
|
SearchContentResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ContentSummary> getContentSummaries()
Summary information about the content.
public void setContentSummaries(Collection<ContentSummary> contentSummaries)
Summary information about the content.
contentSummaries
- Summary information about the content.public SearchContentResult withContentSummaries(ContentSummary... contentSummaries)
Summary 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
- Summary information about the content.public SearchContentResult withContentSummaries(Collection<ContentSummary> contentSummaries)
Summary information about the content.
contentSummaries
- Summary 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 SearchContentResult 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 Object
Object.toString()
public SearchContentResult clone()