Interface Cloud
-
public interface Cloud
This interface defines methods to pass cloud services information to the agent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setAccountInfo(CloudAccountInfo cloudAccountInfo, java.lang.String value)
Sets the account information for a cloud service.void
setAccountInfo(java.lang.Object sdkClient, CloudAccountInfo cloudAccountInfo, java.lang.String value)
Sets the account information for a cloud service SDK client.
-
-
-
Method Detail
-
setAccountInfo
void setAccountInfo(CloudAccountInfo cloudAccountInfo, java.lang.String value)
Sets the account information for a cloud service.
This information is used by some instrumentation modules that cannot determine the resource id of the cloud service being invoked.
The value provided to this method has priority over a value set in the agent configuration.
Passing null as the value will remove the account information previously stored.
- Parameters:
cloudAccountInfo
- the type of account information being storedvalue
- the value to store
-
setAccountInfo
void setAccountInfo(java.lang.Object sdkClient, CloudAccountInfo cloudAccountInfo, java.lang.String value)
Sets the account information for a cloud service SDK client.
This information is used by some instrumentation modules that cannot determine the resource id of the cloud service being invoked.
The value provided to this method has priority over a value set in the agent configuration or a value set using
setAccountInfo(CloudAccountInfo, String)
.Passing null as the value will remove the account information previously stored.
- Parameters:
sdkClient
- the SDK client object this account information is associated withcloudAccountInfo
- the type of account information being storedvalue
- the value to store
-
-