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 DescribeLogGroupsResultclone()booleanequals(Object obj)List<LogGroup>getLogGroups()StringgetNextToken()inthashCode()voidsetLogGroups(Collection<LogGroup> logGroups)voidsetNextToken(String nextToken)StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeLogGroupsResultwithLogGroups(LogGroup... logGroups)NOTE: This method appends the values to the existing list (if any).DescribeLogGroupsResultwithLogGroups(Collection<LogGroup> logGroups)DescribeLogGroupsResultwithNextToken(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLogGroupsResult clone()
-
-