public class DescribeLogStreamsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeLogStreamsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<LogStream> |
getLogStreams()
The log streams.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setLogStreams(java.util.Collection<LogStream> logStreams)
The log streams.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogStreamsResult |
withLogStreams(java.util.Collection<LogStream> logStreams)
The log streams.
|
DescribeLogStreamsResult |
withLogStreams(LogStream... logStreams)
The log streams.
|
DescribeLogStreamsResult |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
public java.util.List<LogStream> getLogStreams()
The log streams.
The log streams.
public void setLogStreams(java.util.Collection<LogStream> logStreams)
The log streams.
logStreams
- The log streams.
public DescribeLogStreamsResult withLogStreams(LogStream... logStreams)
The log streams.
Returns a reference to this object so that method calls can be chained together.
logStreams
- The log streams.
public DescribeLogStreamsResult withLogStreams(java.util.Collection<LogStream> logStreams)
The log streams.
Returns a reference to this object so that method calls can be chained together.
logStreams
- The log streams.
public java.lang.String getNextToken()
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
The token for the next set of items to return. The token expires after 24 hours.
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public DescribeLogStreamsResult withNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.