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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryDefinition.BuilderlastModified(Long lastModified)The date that the query definition was most recently modified.QueryDefinition.BuilderlogGroupNames(String... logGroupNames)If this query definition contains a list of log groups that it is limited to, that list appears here.QueryDefinition.BuilderlogGroupNames(Collection<String> logGroupNames)If this query definition contains a list of log groups that it is limited to, that list appears here.QueryDefinition.Buildername(String name)The name of the query definition.QueryDefinition.BuilderqueryDefinitionId(String queryDefinitionId)The unique ID of the query definition.QueryDefinition.BuilderqueryLanguage(String queryLanguage)The query language used for this query.QueryDefinition.BuilderqueryLanguage(QueryLanguage queryLanguage)The query language used for this query.QueryDefinition.BuilderqueryString(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
queryLanguage
QueryDefinition.Builder queryLanguage(String queryLanguage)
The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
- Parameters:
queryLanguage- The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryLanguage,QueryLanguage
-
queryLanguage
QueryDefinition.Builder queryLanguage(QueryLanguage queryLanguage)
The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
- Parameters:
queryLanguage- The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryLanguage,QueryLanguage
-
queryDefinitionId
QueryDefinition.Builder queryDefinitionId(String 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
QueryDefinition.Builder name(String 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
QueryDefinition.Builder queryString(String 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
QueryDefinition.Builder lastModified(Long 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
QueryDefinition.Builder logGroupNames(Collection<String> 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
QueryDefinition.Builder logGroupNames(String... 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.
-
-