@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() |
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 |
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 |
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 |
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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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.
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.
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.
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.
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.
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.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
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.
If you specify includeLinkedAccounts in your request, then metricFilterCount,
retentionInDays, and storedBytes are not included in the response.
public String toString()
toString in class ObjectObject.toString()public DescribeLogGroupsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.