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 DescribeLogStreamsResultclone()booleanequals(Object obj)List<LogStream>getLogStreams()StringgetNextToken()inthashCode()voidsetLogStreams(Collection<LogStream> logStreams)voidsetNextToken(String nextToken)StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeLogStreamsResultwithLogStreams(LogStream... logStreams)NOTE: This method appends the values to the existing list (if any).DescribeLogStreamsResultwithLogStreams(Collection<LogStream> logStreams)DescribeLogStreamsResultwithNextToken(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLogStreamsResult clone()
-
-