@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLogStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLogStreamsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLogStreamsResult |
clone() |
boolean |
equals(Object obj) |
List<LogStream> |
getLogStreams()
The log streams.
|
String |
getNextToken() |
int |
hashCode() |
void |
setLogStreams(Collection<LogStream> logStreams)
The log streams.
|
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
DescribeLogStreamsResult |
withLogStreams(Collection<LogStream> logStreams)
The log streams.
|
DescribeLogStreamsResult |
withLogStreams(LogStream... logStreams)
The log streams.
|
DescribeLogStreamsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLogStreams(Collection<LogStream> logStreams)
The log streams.
logStreams
- The log streams.public DescribeLogStreamsResult withLogStreams(LogStream... logStreams)
The log streams.
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 log streams.public DescribeLogStreamsResult withLogStreams(Collection<LogStream> logStreams)
The log streams.
logStreams
- The log streams.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribeLogStreamsResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribeLogStreamsResult clone()