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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTraceSnapshotRequest.BuilderapmDomainId(String apmDomainId)The APM Domain ID for the intended request.GetTraceSnapshotRequestbuild()Build the instance of GetTraceSnapshotRequest as configured by this builderGetTraceSnapshotRequestbuildWithoutInvocationCallback()Build the instance of GetTraceSnapshotRequest as configured by this builderGetTraceSnapshotRequest.Buildercopy(GetTraceSnapshotRequest o)Copy method to populate the builder with values from the given instance.GetTraceSnapshotRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetTraceSnapshotRequest.BuilderisSummarized(Boolean isSummarized)If enabled, only span level details are sent.GetTraceSnapshotRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetTraceSnapshotRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetTraceSnapshotRequest.BuildersnapshotTime(String snapshotTime)Epoch time of snapshot.GetTraceSnapshotRequest.BuilderthreadId(String threadId)Thread ID for which snapshots need to be retrieved.GetTraceSnapshotRequest.BuildertraceKey(String traceKey)Unique Application Performance Monitoring trace identifier (traceId).- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
apmDomainIdpublic GetTraceSnapshotRequest.Builder apmDomainId(String apmDomainId) The APM Domain ID for the intended request.- Parameters:
- apmDomainId- the value to set
- Returns:
- this builder instance
 
 - 
traceKeypublic GetTraceSnapshotRequest.Builder traceKey(String traceKey) Unique Application Performance Monitoring trace identifier (traceId).- Parameters:
- traceKey- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic 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
 
 - 
isSummarizedpublic GetTraceSnapshotRequest.Builder isSummarized(Boolean isSummarized) If enabled, only span level details are sent.- Parameters:
- isSummarized- the value to set
- Returns:
- this builder instance
 
 - 
threadIdpublic 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
 
 - 
snapshotTimepublic GetTraceSnapshotRequest.Builder snapshotTime(String snapshotTime) Epoch time of snapshot.- Parameters:
- snapshotTime- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic GetTraceSnapshotRequest.Builder copy(GetTraceSnapshotRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<GetTraceSnapshotRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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:
- buildin interface- BmcRequest.Builder<GetTraceSnapshotRequest,Void>
- Returns:
- instance of GetTraceSnapshotRequest
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-