public class DescribeLogGroupsResult extends Object implements Serializable
Constructor and Description |
---|
DescribeLogGroupsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<LogGroup> |
getLogGroups()
A list of log groups.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setLogGroups(Collection<LogGroup> logGroups)
A list of log groups.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogGroupsResult |
withLogGroups(Collection<LogGroup> logGroups)
A list of log groups.
|
DescribeLogGroupsResult |
withLogGroups(LogGroup... logGroups)
A list of log groups.
|
DescribeLogGroupsResult |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
public List<LogGroup> getLogGroups()
public void setLogGroups(Collection<LogGroup> logGroups)
logGroups
- A list of log groups.public DescribeLogGroupsResult withLogGroups(LogGroup... logGroups)
Returns a reference to this object so that method calls can be chained together.
logGroups
- A list of log groups.public DescribeLogGroupsResult withLogGroups(Collection<LogGroup> logGroups)
Returns a reference to this object so that method calls can be chained together.
logGroups
- A list of log groups.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public DescribeLogGroupsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.