Interface QueryInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueryInfo.Builder,QueryInfo>,SdkBuilder<QueryInfo.Builder,QueryInfo>,SdkPojo
- Enclosing class:
- QueryInfo
@Mutable @NotThreadSafe public static interface QueryInfo.Builder extends SdkPojo, CopyableBuilder<QueryInfo.Builder,QueryInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryInfo.BuilderbytesScanned(Double bytesScanned)The total number of bytes scanned by the query.QueryInfo.BuildercreateTime(Long createTime)The date and time that this query was created.QueryInfo.BuilderlogGroupName(String logGroupName)The name of the log group scanned by this query.QueryInfo.BuilderqueryDuration(Long queryDuration)The duration in milliseconds that the query took to execute.QueryInfo.BuilderqueryId(String queryId)The unique ID number of this query.QueryInfo.BuilderqueryLanguage(String queryLanguage)The query language used for this query.QueryInfo.BuilderqueryLanguage(QueryLanguage queryLanguage)The query language used for this query.QueryInfo.BuilderqueryString(String queryString)The query string used in this query.QueryInfo.Builderstatus(String status)The status of this query.QueryInfo.Builderstatus(QueryStatus status)The status of this query.QueryInfo.BuilderuserIdentity(String userIdentity)The ARN of the user who ran the query.-
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
QueryInfo.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
QueryInfo.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
-
queryId
QueryInfo.Builder queryId(String queryId)
The unique ID number of this query.
- Parameters:
queryId- The unique ID number of this query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
QueryInfo.Builder queryString(String queryString)
The query string used in this query.
- Parameters:
queryString- The query string used in this query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
QueryInfo.Builder status(String status)
The status of this query. Possible values are
Cancelled,Complete,Failed,Running,Scheduled, andUnknown.- Parameters:
status- The status of this query. Possible values areCancelled,Complete,Failed,Running,Scheduled, andUnknown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryStatus,QueryStatus
-
status
QueryInfo.Builder status(QueryStatus status)
The status of this query. Possible values are
Cancelled,Complete,Failed,Running,Scheduled, andUnknown.- Parameters:
status- The status of this query. Possible values areCancelled,Complete,Failed,Running,Scheduled, andUnknown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryStatus,QueryStatus
-
createTime
QueryInfo.Builder createTime(Long createTime)
The date and time that this query was created.
- Parameters:
createTime- The date and time that this query was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupName
QueryInfo.Builder logGroupName(String logGroupName)
The name of the log group scanned by this query.
- Parameters:
logGroupName- The name of the log group scanned by this query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryDuration
QueryInfo.Builder queryDuration(Long queryDuration)
The duration in milliseconds that the query took to execute.
- Parameters:
queryDuration- The duration in milliseconds that the query took to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesScanned
QueryInfo.Builder bytesScanned(Double bytesScanned)
The total number of bytes scanned by the query. This indicates the cost associated with the query.
- Parameters:
bytesScanned- The total number of bytes scanned by the query. This indicates the cost associated with the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIdentity
QueryInfo.Builder userIdentity(String userIdentity)
The ARN of the user who ran the query.
- Parameters:
userIdentity- The ARN of the user who ran the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-