Class DescribeLogStreamsResult
- java.lang.Object
-
- com.amazonaws.services.logs.model.DescribeLogStreamsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeLogStreamsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeLogStreamsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeLogStreamsResult
clone()
boolean
equals(Object obj)
List<LogStream>
getLogStreams()
String
getNextToken()
int
hashCode()
void
setLogStreams(Collection<LogStream> logStreams)
void
setNextToken(String nextToken)
String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeLogStreamsResult
withLogStreams(LogStream... logStreams)
NOTE: This method appends the values to the existing list (if any).DescribeLogStreamsResult
withLogStreams(Collection<LogStream> logStreams)
DescribeLogStreamsResult
withNextToken(String nextToken)
-
-
-
Method Detail
-
setLogStreams
public void setLogStreams(Collection<LogStream> logStreams)
- Parameters:
logStreams
-
-
withLogStreams
public DescribeLogStreamsResult withLogStreams(LogStream... logStreams)
NOTE: This method appends the values to the existing list (if any). Use
setLogStreams(java.util.Collection)
orwithLogStreams(java.util.Collection)
if you want to override the existing values.- Parameters:
logStreams
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLogStreams
public DescribeLogStreamsResult withLogStreams(Collection<LogStream> logStreams)
- Parameters:
logStreams
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
- Parameters:
nextToken
-
-
getNextToken
public String getNextToken()
- Returns:
-
withNextToken
public DescribeLogStreamsResult withNextToken(String nextToken)
- Parameters:
nextToken
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLogStreamsResult clone()
-
-