@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLogGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLogGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLogGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<LogGroup> |
getLogGroups()
The log groups.
|
String |
getNextToken() |
int |
hashCode() |
void |
setLogGroups(Collection<LogGroup> logGroups)
The log groups.
|
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeLogGroupsResult |
withLogGroups(Collection<LogGroup> logGroups)
The log groups.
|
DescribeLogGroupsResult |
withLogGroups(LogGroup... logGroups)
The log groups.
|
DescribeLogGroupsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLogGroups(Collection<LogGroup> logGroups)
The log groups.
logGroups
- The log groups.public DescribeLogGroupsResult withLogGroups(LogGroup... logGroups)
The log groups.
NOTE: This method appends the values to the existing list (if any). Use
setLogGroups(java.util.Collection)
or withLogGroups(java.util.Collection)
if you want to
override the existing values.
logGroups
- The log groups.public DescribeLogGroupsResult withLogGroups(Collection<LogGroup> logGroups)
The log groups.
logGroups
- The log groups.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribeLogGroupsResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribeLogGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.