Interface DescribeFieldIndexesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<DescribeFieldIndexesRequest.Builder,,DescribeFieldIndexesRequest> SdkBuilder<DescribeFieldIndexesRequest.Builder,,DescribeFieldIndexesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeFieldIndexesRequest
-
Method Summary
Modifier and TypeMethodDescriptionindexCategories(Collection<IndexCategory> indexCategories) The index categories to return.indexCategories(IndexCategory... indexCategories) The index categories to return.indexCategoriesWithStrings(String... indexCategories) The index categories to return.indexCategoriesWithStrings(Collection<String> indexCategories) The index categories to return.logGroupIdentifiers(String... logGroupIdentifiers) An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.logGroupIdentifiers(Collection<String> logGroupIdentifiers) An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.Sets the value of the NextToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logGroupIdentifiers
An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.
- Parameters:
logGroupIdentifiers- An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifiers
An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.
- Parameters:
logGroupIdentifiers- An array containing the names or ARNs of the log groups that you want to retrieve field indexes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexCategoriesWithStrings
The index categories to return. The following values are supported:
-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.- Parameters:
indexCategories- The index categories to return. The following values are supported:-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
indexCategoriesWithStrings
The index categories to return. The following values are supported:
-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.- Parameters:
indexCategories- The index categories to return. The following values are supported:-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
indexCategories
The index categories to return. The following values are supported:
-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.- Parameters:
indexCategories- The index categories to return. The following values are supported:-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
indexCategories
The index categories to return. The following values are supported:
-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.- Parameters:
indexCategories- The index categories to return. The following values are supported:-
DEFAULT: Fields that CloudWatch Logs indexes by default. Examples include@logStreamand@data_format. -
CUSTOM: Fields that you added manually to the field index policy. CloudWatch Logs always indexes these fields. These fields count toward the quota of 20 fields for each log group. -
AUTO: Fields that CloudWatch Logs indexes automatically based on your query patterns and usage. These fields do not count toward the field index quota. CloudWatch Logs might update these fields based on changes in your query patterns. To keep a field indexed permanently, add it to an account-level or log-group level field index policy. -
INACTIVE: Fields that CloudWatch Logs indexed before but does not index now. This happens if you remove a field from the field index policy or if CloudWatch Logs automatically selects a different field based on your queries.
If you omit this parameter, the response includes the
DEFAULT,CUSTOM, andINACTIVEcategories.For more information about automatically indexed fields and using the
AUTOcategory, see Automatically indexed fields.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeFieldIndexesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeFieldIndexesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-