Class GetQueryResultsRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest
software.amazon.awssdk.services.cloudwatchlogs.model.GetQueryResultsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest>
@Generated("software.amazon.awssdk:codegen")
public final class GetQueryResultsRequest
extends CloudWatchLogsRequest
implements ToCopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegermaxItems()The maximum number of log events to return in the response.final StringThe token for the next set of items to return.final StringqueryId()The ID number of the query.static Class<? extends GetQueryResultsRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
queryId
The ID number of the query.
- Returns:
- The ID number of the query.
-
nextToken
The token for the next set of items to return. The token expires after 1 hour.
- Returns:
- The token for the next set of items to return. The token expires after 1 hour.
-
maxItems
The maximum number of log events to return in the response. The maximum is 10,000 log events per request. You can retrieve up to 100,000 log event results from a query by paginating with the
nextToken.- Returns:
- The maximum number of log events to return in the response. The maximum is 10,000 log events per request.
You can retrieve up to 100,000 log event results from a query by paginating with the
nextToken.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest> - Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-