Class ListQueriesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest
-
- software.amazon.awssdk.services.cloudtrail.model.ListQueriesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListQueriesRequest.Builder,ListQueriesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListQueriesRequest extends CloudTrailRequest implements ToCopyableBuilder<ListQueriesRequest.Builder,ListQueriesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListQueriesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListQueriesRequest.Builderbuilder()InstantendTime()Use withStartTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventDataStore()The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of queries to show on a page.StringnextToken()A token you can use to get the next page of results.QueryStatusqueryStatus()The status of queries that you want to return in results.StringqueryStatusAsString()The status of queries that you want to return in results.List<SdkField<?>>sdkFields()static Class<? extends ListQueriesRequest.Builder>serializableBuilderClass()InstantstartTime()Use withEndTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.ListQueriesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventDataStore
public final String eventDataStore()
The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
- Returns:
- The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.
-
nextToken
public final String nextToken()
A token you can use to get the next page of results.
- Returns:
- A token you can use to get the next page of results.
-
maxResults
public final Integer maxResults()
The maximum number of queries to show on a page.
- Returns:
- The maximum number of queries to show on a page.
-
startTime
public final Instant startTime()
Use with
EndTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.- Returns:
- Use with
EndTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.
-
endTime
public final Instant endTime()
Use with
StartTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.- Returns:
- Use with
StartTimeto bound aListQueriesrequest, and limit its results to only those queries run within a specified time period.
-
queryStatus
public final QueryStatus queryStatus()
The status of queries that you want to return in results. Valid values for
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED.If the service returns an enum value that is not available in the current SDK version,
queryStatuswill returnQueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryStatusAsString().- Returns:
- The status of queries that you want to return in results. Valid values for
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED. - See Also:
QueryStatus
-
queryStatusAsString
public final String queryStatusAsString()
The status of queries that you want to return in results. Valid values for
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED.If the service returns an enum value that is not available in the current SDK version,
queryStatuswill returnQueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryStatusAsString().- Returns:
- The status of queries that you want to return in results. Valid values for
QueryStatusincludeQUEUED,RUNNING,FINISHED,FAILED,TIMED_OUT, orCANCELLED. - See Also:
QueryStatus
-
toBuilder
public ListQueriesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListQueriesRequest.Builder,ListQueriesRequest>- Specified by:
toBuilderin classCloudTrailRequest
-
builder
public static ListQueriesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListQueriesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-