Interface QueryDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryDefinition.Builder,
,QueryDefinition> SdkBuilder<QueryDefinition.Builder,
,QueryDefinition> SdkPojo
- Enclosing class:
QueryDefinition
public static interface QueryDefinition.Builder
extends SdkPojo, CopyableBuilder<QueryDefinition.Builder,QueryDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionlastModified
(Long lastModified) The date that the query definition was most recently modified.logGroupNames
(String... logGroupNames) If this query definition contains a list of log groups that it is limited to, that list appears here.logGroupNames
(Collection<String> logGroupNames) If this query definition contains a list of log groups that it is limited to, that list appears here.The name of the query definition.queryDefinitionId
(String queryDefinitionId) The unique ID of the query definition.queryString
(String queryString) The query string to use for this definition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
queryDefinitionId
The unique ID of the query definition.
- Parameters:
queryDefinitionId
- The unique ID of the query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the query definition.
- Parameters:
name
- The name of the query definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
- Parameters:
queryString
- The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
The date that the query definition was most recently modified.
- Parameters:
lastModified
- The date that the query definition was most recently modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupNames
If this query definition contains a list of log groups that it is limited to, that list appears here.
- Parameters:
logGroupNames
- If this query definition contains a list of log groups that it is limited to, that list appears here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupNames
If this query definition contains a list of log groups that it is limited to, that list appears here.
- Parameters:
logGroupNames
- If this query definition contains a list of log groups that it is limited to, that list appears here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-