@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVodSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListVodSourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListVodSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<VodSource> |
getItems()
Lists the VOD sources.
|
String |
getNextToken()
Pagination token from the list request.
|
int |
hashCode() |
void |
setItems(Collection<VodSource> items)
Lists the VOD sources.
|
void |
setNextToken(String nextToken)
Pagination token from the list request.
|
String |
toString()
Returns a string representation of this object.
|
ListVodSourcesResult |
withItems(Collection<VodSource> items)
Lists the VOD sources.
|
ListVodSourcesResult |
withItems(VodSource... items)
Lists the VOD sources.
|
ListVodSourcesResult |
withNextToken(String nextToken)
Pagination token from the list request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setItems(Collection<VodSource> items)
Lists the VOD sources.
items
- Lists the VOD sources.public ListVodSourcesResult withItems(VodSource... items)
Lists the VOD sources.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Lists the VOD sources.public ListVodSourcesResult withItems(Collection<VodSource> items)
Lists the VOD sources.
items
- Lists the VOD sources.public void setNextToken(String nextToken)
Pagination token from the list request. Use the token to fetch the next page of results.
nextToken
- Pagination token from the list request. Use the token to fetch the next page of results.public String getNextToken()
Pagination token from the list request. Use the token to fetch the next page of results.
public ListVodSourcesResult withNextToken(String nextToken)
Pagination token from the list request. Use the token to fetch the next page of results.
nextToken
- Pagination token from the list request. Use the token to fetch the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListVodSourcesResult clone()