@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, setSdkResponseMetadata
public List<LogGroup> getLogGroups()
The log groups.
If the retentionInDays
value is not included for a log group, then that log group is set to have its
events never expire.
If the retentionInDays
value is not included for a log group, then that log group is set to
have its events never 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 is set to have its
events never expire.
logGroups
- The log groups.
If the retentionInDays
value is not included for a log group, then that log group is set to
have its events never expire.
public DescribeLogGroupsResult withLogGroups(LogGroup... logGroups)
The log groups.
If the retentionInDays
value is not included for a log group, then that log group is set to have its
events never 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 is set to
have its events never 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 is set to have its
events never expire.
logGroups
- The log groups.
If the retentionInDays
value is not included for a log group, then that log group is set to
have its events never expire.
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()