@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventStreamsResult |
clone() |
boolean |
equals(Object obj) |
List<EventStreamSummary> |
getItems()
Contains summary information about an EventStream.
|
String |
getNextToken()
Identifies the next page of results to return.
|
int |
hashCode() |
void |
setItems(Collection<EventStreamSummary> items)
Contains summary information about an EventStream.
|
void |
setNextToken(String nextToken)
Identifies the next page of results to return.
|
String |
toString()
Returns a string representation of this object.
|
ListEventStreamsResult |
withItems(Collection<EventStreamSummary> items)
Contains summary information about an EventStream.
|
ListEventStreamsResult |
withItems(EventStreamSummary... items)
Contains summary information about an EventStream.
|
ListEventStreamsResult |
withNextToken(String nextToken)
Identifies the next page of results to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventStreamSummary> getItems()
Contains summary information about an EventStream.
public void setItems(Collection<EventStreamSummary> items)
Contains summary information about an EventStream.
items
- Contains summary information about an EventStream.public ListEventStreamsResult withItems(EventStreamSummary... items)
Contains summary information about an EventStream.
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
- Contains summary information about an EventStream.public ListEventStreamsResult withItems(Collection<EventStreamSummary> items)
Contains summary information about an EventStream.
items
- Contains summary information about an EventStream.public void setNextToken(String nextToken)
Identifies the next page of results to return.
nextToken
- Identifies the next page of results to return.public String getNextToken()
Identifies the next page of results to return.
public ListEventStreamsResult withNextToken(String nextToken)
Identifies the next page of results to return.
nextToken
- Identifies the next page of results to return.public String toString()
toString
in class Object
Object.toString()
public ListEventStreamsResult clone()