@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeLogGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLogGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIdentifiers()
When
includeLinkedAccounts is set to True , use this parameter to specify the list of
accounts to search. |
Boolean |
getIncludeLinkedAccounts()
If you are using a monitoring account, set this to
True to have the operation return log groups in
the accounts listed in accountIdentifiers . |
Integer |
getLimit()
The maximum number of items returned.
|
String |
getLogGroupClass()
Specifies the log group class for this log group.
|
String |
getLogGroupNamePattern()
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search.
|
String |
getLogGroupNamePrefix()
The prefix to match.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
Boolean |
isIncludeLinkedAccounts()
If you are using a monitoring account, set this to
True to have the operation return log groups in
the accounts listed in accountIdentifiers . |
void |
setAccountIdentifiers(Collection<String> accountIdentifiers)
When
includeLinkedAccounts is set to True , use this parameter to specify the list of
accounts to search. |
void |
setIncludeLinkedAccounts(Boolean includeLinkedAccounts)
If you are using a monitoring account, set this to
True to have the operation return log groups in
the accounts listed in accountIdentifiers . |
void |
setLimit(Integer limit)
The maximum number of items returned.
|
void |
setLogGroupClass(String logGroupClass)
Specifies the log group class for this log group.
|
void |
setLogGroupNamePattern(String logGroupNamePattern)
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search.
|
void |
setLogGroupNamePrefix(String logGroupNamePrefix)
The prefix to match.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLogGroupsRequest |
withAccountIdentifiers(Collection<String> accountIdentifiers)
When
includeLinkedAccounts is set to True , use this parameter to specify the list of
accounts to search. |
DescribeLogGroupsRequest |
withAccountIdentifiers(String... accountIdentifiers)
When
includeLinkedAccounts is set to True , use this parameter to specify the list of
accounts to search. |
DescribeLogGroupsRequest |
withIncludeLinkedAccounts(Boolean includeLinkedAccounts)
If you are using a monitoring account, set this to
True to have the operation return log groups in
the accounts listed in accountIdentifiers . |
DescribeLogGroupsRequest |
withLimit(Integer limit)
The maximum number of items returned.
|
DescribeLogGroupsRequest |
withLogGroupClass(LogGroupClass logGroupClass)
Specifies the log group class for this log group.
|
DescribeLogGroupsRequest |
withLogGroupClass(String logGroupClass)
Specifies the log group class for this log group.
|
DescribeLogGroupsRequest |
withLogGroupNamePattern(String logGroupNamePattern)
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search.
|
DescribeLogGroupsRequest |
withLogGroupNamePrefix(String logGroupNamePrefix)
The prefix to match.
|
DescribeLogGroupsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAccountIdentifiers()
When includeLinkedAccounts
is set to True
, use this parameter to specify the list of
accounts to search. You can specify as many as 20 account IDs in the array.
includeLinkedAccounts
is set to True
, use this parameter to specify the
list of accounts to search. You can specify as many as 20 account IDs in the array.public void setAccountIdentifiers(Collection<String> accountIdentifiers)
When includeLinkedAccounts
is set to True
, use this parameter to specify the list of
accounts to search. You can specify as many as 20 account IDs in the array.
accountIdentifiers
- When includeLinkedAccounts
is set to True
, use this parameter to specify the
list of accounts to search. You can specify as many as 20 account IDs in the array.public DescribeLogGroupsRequest withAccountIdentifiers(String... accountIdentifiers)
When includeLinkedAccounts
is set to True
, use this parameter to specify the list of
accounts to search. You can specify as many as 20 account IDs in the array.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIdentifiers(java.util.Collection)
or withAccountIdentifiers(java.util.Collection)
if
you want to override the existing values.
accountIdentifiers
- When includeLinkedAccounts
is set to True
, use this parameter to specify the
list of accounts to search. You can specify as many as 20 account IDs in the array.public DescribeLogGroupsRequest withAccountIdentifiers(Collection<String> accountIdentifiers)
When includeLinkedAccounts
is set to True
, use this parameter to specify the list of
accounts to search. You can specify as many as 20 account IDs in the array.
accountIdentifiers
- When includeLinkedAccounts
is set to True
, use this parameter to specify the
list of accounts to search. You can specify as many as 20 account IDs in the array.public void setLogGroupNamePrefix(String logGroupNamePrefix)
The prefix to match.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of these
parameters can be passed.
logGroupNamePrefix
- The prefix to match.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of
these parameters can be passed.
public String getLogGroupNamePrefix()
The prefix to match.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of these
parameters can be passed.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of
these parameters can be passed.
public DescribeLogGroupsRequest withLogGroupNamePrefix(String logGroupNamePrefix)
The prefix to match.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of these
parameters can be passed.
logGroupNamePrefix
- The prefix to match.
logGroupNamePrefix
and logGroupNamePattern
are mutually exclusive. Only one of
these parameters can be passed.
public void setLogGroupNamePattern(String logGroupNamePattern)
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search. For example, if you specify Foo
, log groups named
FooBar
, aws/Foo
, and GroupFoo
would match, but foo
,
F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of these
parameters can be passed.
logGroupNamePattern
- If you specify a string for this parameter, the operation returns only log groups that have names that
match the string based on a case-sensitive substring search. For example, if you specify Foo
,
log groups named FooBar
, aws/Foo
, and GroupFoo
would match, but
foo
, F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of
these parameters can be passed.
public String getLogGroupNamePattern()
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search. For example, if you specify Foo
, log groups named
FooBar
, aws/Foo
, and GroupFoo
would match, but foo
,
F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of these
parameters can be passed.
Foo
, log groups named FooBar
, aws/Foo
, and GroupFoo
would match, but
foo
, F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of
these parameters can be passed.
public DescribeLogGroupsRequest withLogGroupNamePattern(String logGroupNamePattern)
If you specify a string for this parameter, the operation returns only log groups that have names that match the
string based on a case-sensitive substring search. For example, if you specify Foo
, log groups named
FooBar
, aws/Foo
, and GroupFoo
would match, but foo
,
F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of these
parameters can be passed.
logGroupNamePattern
- If you specify a string for this parameter, the operation returns only log groups that have names that
match the string based on a case-sensitive substring search. For example, if you specify Foo
,
log groups named FooBar
, aws/Foo
, and GroupFoo
would match, but
foo
, F/o/o
and Froo
would not match.
If you specify logGroupNamePattern
in your request, then only arn
,
creationTime
, and logGroupName
are included in the response.
logGroupNamePattern
and logGroupNamePrefix
are mutually exclusive. Only one of
these parameters can be passed.
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeLogGroupsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public void setLimit(Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
limit
- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.public Integer getLimit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public DescribeLogGroupsRequest withLimit(Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
limit
- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.public void setIncludeLinkedAccounts(Boolean includeLinkedAccounts)
If you are using a monitoring account, set this to True
to have the operation return log groups in
the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value, the
operation returns all log groups in the monitoring account and all log groups in all source accounts that are
linked to the monitoring account.
includeLinkedAccounts
- If you are using a monitoring account, set this to True
to have the operation return log
groups in the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value,
the operation returns all log groups in the monitoring account and all log groups in all source accounts
that are linked to the monitoring account.
public Boolean getIncludeLinkedAccounts()
If you are using a monitoring account, set this to True
to have the operation return log groups in
the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value, the
operation returns all log groups in the monitoring account and all log groups in all source accounts that are
linked to the monitoring account.
True
to have the operation return log
groups in the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value,
the operation returns all log groups in the monitoring account and all log groups in all source accounts
that are linked to the monitoring account.
public DescribeLogGroupsRequest withIncludeLinkedAccounts(Boolean includeLinkedAccounts)
If you are using a monitoring account, set this to True
to have the operation return log groups in
the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value, the
operation returns all log groups in the monitoring account and all log groups in all source accounts that are
linked to the monitoring account.
includeLinkedAccounts
- If you are using a monitoring account, set this to True
to have the operation return log
groups in the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value,
the operation returns all log groups in the monitoring account and all log groups in all source accounts
that are linked to the monitoring account.
public Boolean isIncludeLinkedAccounts()
If you are using a monitoring account, set this to True
to have the operation return log groups in
the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value, the
operation returns all log groups in the monitoring account and all log groups in all source accounts that are
linked to the monitoring account.
True
to have the operation return log
groups in the accounts listed in accountIdentifiers
.
If this parameter is set to true
and accountIdentifiers
contains a null value,
the operation returns all log groups in the monitoring account and all log groups in all source accounts
that are linked to the monitoring account.
public void setLogGroupClass(String logGroupClass)
Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs lower
costs.
For details about the features supported by each class, see Log classes
logGroupClass
- Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs
lower costs.
For details about the features supported by each class, see Log classes
LogGroupClass
public String getLogGroupClass()
Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs lower
costs.
For details about the features supported by each class, see Log classes
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs
lower costs.
For details about the features supported by each class, see Log classes
LogGroupClass
public DescribeLogGroupsRequest withLogGroupClass(String logGroupClass)
Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs lower
costs.
For details about the features supported by each class, see Log classes
logGroupClass
- Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs
lower costs.
For details about the features supported by each class, see Log classes
LogGroupClass
public DescribeLogGroupsRequest withLogGroupClass(LogGroupClass logGroupClass)
Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs lower
costs.
For details about the features supported by each class, see Log classes
logGroupClass
- Specifies the log group class for this log group. There are two classes:
The Standard
log class supports all CloudWatch Logs features.
The Infrequent Access
log class supports a subset of CloudWatch Logs features and incurs
lower costs.
For details about the features supported by each class, see Log classes
LogGroupClass
public String toString()
toString
in class Object
Object.toString()
public DescribeLogGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()