Interface AgentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentConfiguration.Builder,AgentConfiguration>,SdkBuilder<AgentConfiguration.Builder,AgentConfiguration>,SdkPojo
- Enclosing class:
- AgentConfiguration
public static interface AgentConfiguration.Builder extends SdkPojo, CopyableBuilder<AgentConfiguration.Builder,AgentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentConfiguration.BuilderagentParameters(Map<AgentParameterField,String> agentParameters)Parameters used by the profiler.AgentConfiguration.BuilderagentParametersWithStrings(Map<String,String> agentParameters)Parameters used by the profiler.AgentConfiguration.BuilderperiodInSeconds(Integer periodInSeconds)How long a profiling agent should send profiling data usingConfigureAgent.AgentConfiguration.BuildershouldProfile(Boolean shouldProfile)ABooleanthat specifies whether the profiling agent collects profiling data or not.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
agentParametersWithStrings
AgentConfiguration.Builder agentParametersWithStrings(Map<String,String> agentParameters)
Parameters used by the profiler. The valid parameters are:
-
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB. -
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler. -
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports. -
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles. -
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
- Parameters:
agentParameters- Parameters used by the profiler. The valid parameters are:-
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB. -
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler. -
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports. -
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles. -
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
agentParameters
AgentConfiguration.Builder agentParameters(Map<AgentParameterField,String> agentParameters)
Parameters used by the profiler. The valid parameters are:
-
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB. -
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler. -
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports. -
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles. -
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
- Parameters:
agentParameters- Parameters used by the profiler. The valid parameters are:-
MaxStackDepth- The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a methodA, which calls methodB, which calls methodC, which calls methodD, then the depth is 4. If themaxDepthis set to 2, then the profiler evaluatesAandB. -
MemoryUsageLimitPercent- The percentage of memory that is used by the profiler. -
MinimumTimeForReportingInMilliseconds- The minimum time in milliseconds between sending reports. -
ReportingIntervalInMilliseconds- The reporting interval in milliseconds used to report profiles. -
SamplingIntervalInMilliseconds- The sampling interval in milliseconds that is used to profile samples.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
periodInSeconds
AgentConfiguration.Builder periodInSeconds(Integer periodInSeconds)
How long a profiling agent should send profiling data using
ConfigureAgent. For example, if this is set to 300, the profiling agent callsConfigureAgentevery 5 minutes to submit the profiled data collected during that period.- Parameters:
periodInSeconds- How long a profiling agent should send profiling data usingConfigureAgent. For example, if this is set to 300, the profiling agent callsConfigureAgentevery 5 minutes to submit the profiled data collected during that period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shouldProfile
AgentConfiguration.Builder shouldProfile(Boolean shouldProfile)
A
Booleanthat specifies whether the profiling agent collects profiling data or not. Set totrueto enable profiling.- Parameters:
shouldProfile- ABooleanthat specifies whether the profiling agent collects profiling data or not. Set totrueto enable profiling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-