Class QueryRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<QueryDetails>
-
- com.oracle.bmc.loganalytics.requests.QueryRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class QueryRequest extends BmcRequest<QueryDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/loganalytics/QueryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use QueryRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryRequest.Builder
-
Constructor Summary
Constructors Constructor Description QueryRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.QueryDetails
getBody$()
Alternative accessor for the body parameter.Integer
getLimit()
Maximum number of results to return in this request.String
getNamespaceName()
The Logging Analytics namespace used for the request.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
The page token representing the page at which to start retrieving results.QueryDetails
getQueryDetails()
Query to be executed.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.boolean
supportsExpect100Continue()
Returns true if this operation supports Expect: 100-Continue.QueryRequest.Builder
toBuilder()
Return an instance ofQueryRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
-
-
-
-
Method Detail
-
getNamespaceName
public String getNamespaceName()
The Logging Analytics namespace used for the request.
-
getQueryDetails
public QueryDetails getQueryDetails()
Query to be executed.
-
getPage
public String getPage()
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getLimit
public Integer getLimit()
Maximum number of results to return in this request.Note a limit=-1 returns all results from pageId onwards up to maxtotalCount.
-
getBody$
public QueryDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<QueryDetails>
- Returns:
- body parameter
-
supportsExpect100Continue
public boolean supportsExpect100Continue()
Description copied from class:BmcRequest
Returns true if this operation supports Expect: 100-Continue.- Overrides:
supportsExpect100Continue
in classBmcRequest<QueryDetails>
- Returns:
- true if this operation supports Expect: 100-Continue.
-
toBuilder
public QueryRequest.Builder toBuilder()
Return an instance ofQueryRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
QueryRequest.Builder
that allows you to modify request properties.
-
builder
public static QueryRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<QueryDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<QueryDetails>
-
-