public static interface PutQueryDefinitionRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutQueryDefinitionRequest.Builder,PutQueryDefinitionRequest>
Modifier and Type | Method and Description |
---|---|
PutQueryDefinitionRequest.Builder |
logGroupNames(Collection<String> logGroupNames)
Use this parameter to include specific log groups as part of your query definition.
|
PutQueryDefinitionRequest.Builder |
logGroupNames(String... logGroupNames)
Use this parameter to include specific log groups as part of your query definition.
|
PutQueryDefinitionRequest.Builder |
name(String name)
A name for the query definition.
|
PutQueryDefinitionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutQueryDefinitionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutQueryDefinitionRequest.Builder |
queryDefinitionId(String queryDefinitionId)
If you are updating a query definition, use this parameter to specify the ID of the query definition that you
want to update.
|
PutQueryDefinitionRequest.Builder |
queryString(String queryString)
The query string to use for this definition.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutQueryDefinitionRequest.Builder name(String name)
A name for the query definition. If you are saving numerous query definitions, we recommend that you name
them. This way, you can find the ones you want by using the first part of the name as a filter in the
queryDefinitionNamePrefix
parameter of DescribeQueryDefinitions.
name
- A name for the query definition. If you are saving numerous query definitions, we recommend that you
name them. This way, you can find the ones you want by using the first part of the name as a filter in
the queryDefinitionNamePrefix
parameter of DescribeQueryDefinitions.PutQueryDefinitionRequest.Builder queryDefinitionId(String queryDefinitionId)
If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.
If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.
queryDefinitionId
- If you are updating a query definition, use this parameter to specify the ID of the query definition
that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.
If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.
PutQueryDefinitionRequest.Builder logGroupNames(Collection<String> logGroupNames)
Use this parameter to include specific log groups as part of your query definition.
If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
logGroupNames
- Use this parameter to include specific log groups as part of your query definition.
If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
PutQueryDefinitionRequest.Builder logGroupNames(String... logGroupNames)
Use this parameter to include specific log groups as part of your query definition.
If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
logGroupNames
- Use this parameter to include specific log groups as part of your query definition.
If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
PutQueryDefinitionRequest.Builder queryString(String queryString)
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
queryString
- The query string to use for this definition. For more information, see CloudWatch Logs
Insights Query Syntax.PutQueryDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutQueryDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.