Interface CodeLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeLocation.Builder,,CodeLocation> SdkBuilder<CodeLocation.Builder,,CodeLocation> SdkPojo
- Enclosing class:
CodeLocation
-
Method Summary
Modifier and TypeMethodDescriptionThe class or type name that contains the method.The package, module, or namespace that contains the target code, for examplecom.amazon.paymentorpayment_service.The source file path relative to the project or source root, such assrc/payment/PaymentProcessor.javaorsrc/payment/PaymentProcessor.py.The programming language for this instrumentation point, such as Java, Python, or JavaScript.language(ProgrammingLanguage language) The programming language for this instrumentation point, such as Java, Python, or JavaScript.lineNumber(Integer lineNumber) The line number to instrument.methodName(String methodName) The method or function name to instrument, such asvalidateCreditCardor__init__.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
language
The programming language for this instrumentation point, such as Java, Python, or JavaScript.
- Parameters:
language- The programming language for this instrumentation point, such as Java, Python, or JavaScript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
The programming language for this instrumentation point, such as Java, Python, or JavaScript.
- Parameters:
language- The programming language for this instrumentation point, such as Java, Python, or JavaScript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeUnit
The package, module, or namespace that contains the target code, for example
com.amazon.paymentorpayment_service.- Parameters:
codeUnit- The package, module, or namespace that contains the target code, for examplecom.amazon.paymentorpayment_service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
className
The class or type name that contains the method. This is required for Java and optional for Python module-level functions.
- Parameters:
className- The class or type name that contains the method. This is required for Java and optional for Python module-level functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
methodName
The method or function name to instrument, such as
validateCreditCardor__init__.- Parameters:
methodName- The method or function name to instrument, such asvalidateCreditCardor__init__.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
The source file path relative to the project or source root, such as
src/payment/PaymentProcessor.javaorsrc/payment/PaymentProcessor.py.- Parameters:
filePath- The source file path relative to the project or source root, such assrc/payment/PaymentProcessor.javaorsrc/payment/PaymentProcessor.py.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineNumber
The line number to instrument. Provide this to disambiguate overloaded methods and to target a specific line when needed.
- Parameters:
lineNumber- The line number to instrument. Provide this to disambiguate overloaded methods and to target a specific line when needed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-