Class GetTraceSnapshotRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.requests.GetTraceSnapshotRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetTraceSnapshotRequest,Void>
- Enclosing class:
- GetTraceSnapshotRequest
public static class GetTraceSnapshotRequest.Builder extends Object implements BmcRequest.Builder<GetTraceSnapshotRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTraceSnapshotRequest.Builder
apmDomainId(String apmDomainId)
The APM Domain ID for the intended request.GetTraceSnapshotRequest
build()
Build the instance of GetTraceSnapshotRequest as configured by this builderGetTraceSnapshotRequest
buildWithoutInvocationCallback()
Build the instance of GetTraceSnapshotRequest as configured by this builderGetTraceSnapshotRequest.Builder
copy(GetTraceSnapshotRequest o)
Copy method to populate the builder with values from the given instance.GetTraceSnapshotRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetTraceSnapshotRequest.Builder
isSummarized(Boolean isSummarized)
If enabled, only span level details are sent.GetTraceSnapshotRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetTraceSnapshotRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetTraceSnapshotRequest.Builder
snapshotTime(String snapshotTime)
Epoch time of snapshot.GetTraceSnapshotRequest.Builder
threadId(String threadId)
Thread ID for which snapshots need to be retrieved.GetTraceSnapshotRequest.Builder
traceKey(String traceKey)
Unique Application Performance Monitoring trace identifier (traceId).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
apmDomainId
public GetTraceSnapshotRequest.Builder apmDomainId(String apmDomainId)
The APM Domain ID for the intended request.- Parameters:
apmDomainId
- the value to set- Returns:
- this builder instance
-
traceKey
public GetTraceSnapshotRequest.Builder traceKey(String traceKey)
Unique Application Performance Monitoring trace identifier (traceId).- Parameters:
traceKey
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetTraceSnapshotRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
isSummarized
public GetTraceSnapshotRequest.Builder isSummarized(Boolean isSummarized)
If enabled, only span level details are sent.- Parameters:
isSummarized
- the value to set- Returns:
- this builder instance
-
threadId
public GetTraceSnapshotRequest.Builder threadId(String threadId)
Thread ID for which snapshots need to be retrieved.This identifier of a thread is a long positive number generated when a thread is created.
- Parameters:
threadId
- the value to set- Returns:
- this builder instance
-
snapshotTime
public GetTraceSnapshotRequest.Builder snapshotTime(String snapshotTime)
Epoch time of snapshot.- Parameters:
snapshotTime
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetTraceSnapshotRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetTraceSnapshotRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetTraceSnapshotRequest.Builder copy(GetTraceSnapshotRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetTraceSnapshotRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetTraceSnapshotRequest build()
Build the instance of GetTraceSnapshotRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<GetTraceSnapshotRequest,Void>
- Returns:
- instance of GetTraceSnapshotRequest
-
buildWithoutInvocationCallback
public GetTraceSnapshotRequest buildWithoutInvocationCallback()
Build the instance of GetTraceSnapshotRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of GetTraceSnapshotRequest
-
-