public class DescribeLogStreamsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLogStreamsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLogStreamsResult |
clone() |
boolean |
equals(Object obj) |
List<LogStream> |
getLogStreams()
Returns the value of the LogStreams property for this object.
|
String |
getNextToken()
Returns the value of the NextToken property for this object.
|
int |
hashCode() |
void |
setLogStreams(Collection<LogStream> logStreams)
Sets the value of the LogStreams property for this object.
|
void |
setNextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogStreamsResult |
withLogStreams(Collection<LogStream> logStreams)
Sets the value of the LogStreams property for this object.
|
DescribeLogStreamsResult |
withLogStreams(LogStream... logStreams)
Sets the value of the LogStreams property for this object.
|
DescribeLogStreamsResult |
withNextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
public List<LogStream> getLogStreams()
public void setLogStreams(Collection<LogStream> logStreams)
logStreams
- The new value for the LogStreams property for this object.public DescribeLogStreamsResult withLogStreams(LogStream... logStreams)
NOTE: This method appends the values to the existing list (if
any). Use setLogStreams(java.util.Collection)
or
withLogStreams(java.util.Collection)
if you want to override the
existing values.
logStreams
- The new value for the LogStreams property for this object.public DescribeLogStreamsResult withLogStreams(Collection<LogStream> logStreams)
logStreams
- The new value for the LogStreams property for this object.public void setNextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.public String getNextToken()
public DescribeLogStreamsResult withNextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.public String toString()
toString
in class Object
Object.toString()
public DescribeLogStreamsResult clone()
Copyright © 2015. All rights reserved.