SamplingSettings Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.SamplingSettings
- com.
public class SamplingSettings
Sampling settings for Diagnostic.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SamplingSettings() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.Double |
percentage()
Get rate of sampling for fixed-rate sampling. |
|
Sampling |
samplingType()
Get sampling type. |
|
Sampling |
withPercentage(Double percentage)
Set rate of sampling for fixed-rate sampling. |
|
Sampling |
withSamplingType(SamplingType samplingType)
Set sampling type. |
Methods inherited from java.lang.Object
Constructor Details
SamplingSettings
public SamplingSettings()
Method Details
percentage
public Double percentage()
Get rate of sampling for fixed-rate sampling.
Returns:
samplingType
public SamplingType samplingType()
Get sampling type. Possible values include: 'fixed'.
Returns:
withPercentage
public SamplingSettings withPercentage(Double percentage)
Set rate of sampling for fixed-rate sampling.
Parameters:
Returns:
withSamplingType
public SamplingSettings withSamplingType(SamplingType samplingType)
Set sampling type. Possible values include: 'fixed'.
Parameters:
Returns: