@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.
|
DescribeLogGroupsResult |
withLogGroups(Collection<LogGroup> logGroups)
The log groups.
|
DescribeLogGroupsResult |
withLogGroups(LogGroup... logGroups)
The log groups.
|
DescribeLogGroupsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<LogGroup> getLogGroups()
The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do not
expire.
If the retentionInDays value is not included for a log group, then that log group's events
do not expire.
public void setLogGroups(Collection<LogGroup> logGroups)
The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do not
expire.
logGroups - The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do
not expire.
public DescribeLogGroupsResult withLogGroups(LogGroup... logGroups)
The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do not
expire.
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.
If the retentionInDays value is not included for a log group, then that log group's events do
not expire.
public DescribeLogGroupsResult withLogGroups(Collection<LogGroup> logGroups)
The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do not
expire.
logGroups - The log groups.
If the retentionInDays value is not included for a log group, then that log group's events do
not expire.
public void setNextToken(String nextToken)
nextToken - public String getNextToken()
public DescribeLogGroupsResult withNextToken(String nextToken)
nextToken - public String toString()
toString in class ObjectObject.toString()public DescribeLogGroupsResult clone()