@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLiveSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLiveSourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListLiveSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<LiveSource> |
getItems()
Lists the live sources.
|
String |
getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed.
|
int |
hashCode() |
void |
setItems(Collection<LiveSource> items)
Lists the live sources.
|
void |
setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
String |
toString()
Returns a string representation of this object.
|
ListLiveSourcesResult |
withItems(Collection<LiveSource> items)
Lists the live sources.
|
ListLiveSourcesResult |
withItems(LiveSource... items)
Lists the live sources.
|
ListLiveSourcesResult |
withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LiveSource> getItems()
Lists the live sources.
public void setItems(Collection<LiveSource> items)
Lists the live sources.
items
- Lists the live sources.public ListLiveSourcesResult withItems(LiveSource... items)
Lists the live 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 live sources.public ListLiveSourcesResult withItems(Collection<LiveSource> items)
Lists the live sources.
items
- Lists the live sources.public void setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
public ListLiveSourcesResult withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListLiveSourcesResult clone()