public class DescribeLogStreamsResult extends Object implements Serializable
Constructor and Description |
---|
DescribeLogStreamsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<LogStream> |
getLogStreams()
A list of log streams.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setLogStreams(Collection<LogStream> logStreams)
A list of log streams.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogStreamsResult |
withLogStreams(Collection<LogStream> logStreams)
A list of log streams.
|
DescribeLogStreamsResult |
withLogStreams(LogStream... logStreams)
A list of log streams.
|
DescribeLogStreamsResult |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
public List<LogStream> getLogStreams()
public void setLogStreams(Collection<LogStream> logStreams)
logStreams
- A list of log streams.public DescribeLogStreamsResult withLogStreams(LogStream... logStreams)
Returns a reference to this object so that method calls can be chained together.
logStreams
- A list of log streams.public DescribeLogStreamsResult withLogStreams(Collection<LogStream> logStreams)
Returns a reference to this object so that method calls can be chained together.
logStreams
- A list of log streams.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public DescribeLogStreamsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.