public static interface DescribeLogGroupsRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DescribeLogGroupsRequest.Builder,DescribeLogGroupsRequest>
| Modifier and Type | Method and Description |
|---|---|
DescribeLogGroupsRequest.Builder |
accountIdentifiers(Collection<String> accountIdentifiers)
When
includeLinkedAccounts is set to True, use this parameter to specify the list
of accounts to search. |
DescribeLogGroupsRequest.Builder |
accountIdentifiers(String... accountIdentifiers)
When
includeLinkedAccounts is set to True, use this parameter to specify the list
of accounts to search. |
DescribeLogGroupsRequest.Builder |
includeLinkedAccounts(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.Builder |
limit(Integer limit)
The maximum number of items returned.
|
DescribeLogGroupsRequest.Builder |
logGroupNamePattern(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.Builder |
logGroupNamePrefix(String logGroupNamePrefix)
The prefix to match.
|
DescribeLogGroupsRequest.Builder |
nextToken(String nextToken)
The token for the next set of items to return.
|
DescribeLogGroupsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeLogGroupsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeLogGroupsRequest.Builder accountIdentifiers(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.DescribeLogGroupsRequest.Builder accountIdentifiers(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.DescribeLogGroupsRequest.Builder logGroupNamePrefix(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.
DescribeLogGroupsRequest.Builder logGroupNamePattern(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.
DescribeLogGroupsRequest.Builder nextToken(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.)DescribeLogGroupsRequest.Builder limit(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.DescribeLogGroupsRequest.Builder includeLinkedAccounts(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.
DescribeLogGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDescribeLogGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.