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