Class QueryRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<QueryDetails>
-
- com.oracle.bmc.apmtraces.requests.QueryRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class QueryRequest extends BmcRequest<QueryDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/apmtraces/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’.StringgetApmDomainId()The APM Domain ID for the intended request.QueryDetailsgetBody$()Alternative accessor for the body parameter.IntegergetLimit()The maximum number of items to return.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()The page token representing the page where to start retrieving results.QueryDetailsgetQueryDetails()Request body containing the query to be run against the trace, span, services, background queries and other metric data and to filter and retrieve the results.DategetTimeSpanStartedGreaterThanOrEqualTo()Include spans that have a spanStartTime equal to or greater than this value.DategetTimeSpanStartedLessThan()Include spans that have a spanStartTime less than this value.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.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, supportsExpect100Continue
-
-
-
-
Method Detail
-
getApmDomainId
public String getApmDomainId()
The APM Domain ID for the intended request.
-
getTimeSpanStartedGreaterThanOrEqualTo
public Date getTimeSpanStartedGreaterThanOrEqualTo()
Include spans that have a spanStartTime equal to or greater than this value.Also, include logs and traces that have startTime greater than this value.
-
getTimeSpanStartedLessThan
public Date getTimeSpanStartedLessThan()
Include spans that have a spanStartTime less than this value.Also, include traces that have startTime less than this value and logs that have endTime less than this value.
-
getQueryDetails
public QueryDetails getQueryDetails()
Request body containing the query to be run against the trace, span, services, background queries and other metric data and to filter and retrieve the results.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
The page token representing the page where to start retrieving results.This is usually retrieved from a previous response.
-
getBody$
public QueryDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<QueryDetails>- Returns:
- body parameter
-
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>
-
-