Package com.oracle.bmc.apmtraces.model
Class StackTraceElement.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.StackTraceElement.Builder
-
- Enclosing class:
- StackTraceElement
public static class StackTraceElement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackTraceElementbuild()StackTraceElement.BuilderclassName(String className)Name of the class containing the execution point.StackTraceElement.Buildercopy(StackTraceElement model)StackTraceElement.BuilderfileName(String fileName)Name of the source file containing the execution point.StackTraceElement.BuilderlineNumber(Integer lineNumber)Line number of the source line containing the execution point.StackTraceElement.BuildermethodName(String methodName)Name of the method containing the execution point.StackTraceElement.Builderweightage(Float weightage)The weight distribution that denotes the percentage occurrence of a method in the captured snapshots.
-
-
-
Method Detail
-
methodName
public StackTraceElement.Builder methodName(String methodName)
Name of the method containing the execution point.- Parameters:
methodName- the value to set- Returns:
- this builder
-
fileName
public StackTraceElement.Builder fileName(String fileName)
Name of the source file containing the execution point.- Parameters:
fileName- the value to set- Returns:
- this builder
-
lineNumber
public StackTraceElement.Builder lineNumber(Integer lineNumber)
Line number of the source line containing the execution point.- Parameters:
lineNumber- the value to set- Returns:
- this builder
-
className
public StackTraceElement.Builder className(String className)
Name of the class containing the execution point.- Parameters:
className- the value to set- Returns:
- this builder
-
weightage
public StackTraceElement.Builder weightage(Float weightage)
The weight distribution that denotes the percentage occurrence of a method in the captured snapshots.- Parameters:
weightage- the value to set- Returns:
- this builder
-
build
public StackTraceElement build()
-
copy
public StackTraceElement.Builder copy(StackTraceElement model)
-
-