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/latest/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 classQueryRequest.Builder
-
Constructor Summary
Constructors Constructor Description QueryRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.QueryDetailsgetBody$()Alternative accessor for the body parameter.IntegergetLimit()Maximum number of results to return in this request.StringgetNamespaceName()The Logging Analytics namespace used for the request.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()The page token representing the page at which to start retrieving results.QueryDetailsgetQueryDetails()Query to be executed.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.booleansupportsExpect100Continue()Returns true if this operation supports Expect: 100-Continue.QueryRequest.BuildertoBuilder()Return an instance ofQueryRequest.Builderthat allows you to modify request properties.StringtoString()-
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:BmcRequestReturns true if this operation supports Expect: 100-Continue.- Overrides:
supportsExpect100Continuein classBmcRequest<QueryDetails>- Returns:
- true if this operation supports Expect: 100-Continue.
-
toBuilder
public QueryRequest.Builder toBuilder()
Return an instance ofQueryRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
QueryRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<QueryDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<QueryDetails>
-
-