@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
 The response of 
 ConfigureAgent  that specifies if an agent profiles or not and for how long to return profiling
 data.
 
| Constructor and Description | 
|---|
| AgentConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| AgentConfiguration | addAgentParametersEntry(String key,
                       String value)Add a single AgentParameters entry | 
| AgentConfiguration | clearAgentParametersEntries()Removes all the entries added into AgentParameters. | 
| AgentConfiguration | clone() | 
| boolean | equals(Object obj) | 
| Map<String,String> | getAgentParameters()
 Parameters used by the profiler. | 
| Integer | getPeriodInSeconds()
 How long a profiling agent should send profiling data using 
  ConfigureAgent. | 
| Boolean | getShouldProfile()
 A  Booleanthat specifies whether the profiling agent collects profiling data or not. | 
| int | hashCode() | 
| Boolean | isShouldProfile()
 A  Booleanthat specifies whether the profiling agent collects profiling data or not. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAgentParameters(Map<String,String> agentParameters)
 Parameters used by the profiler. | 
| void | setPeriodInSeconds(Integer periodInSeconds)
 How long a profiling agent should send profiling data using 
  ConfigureAgent. | 
| void | setShouldProfile(Boolean shouldProfile)
 A  Booleanthat specifies whether the profiling agent collects profiling data or not. | 
| String | toString()Returns a string representation of this object. | 
| AgentConfiguration | withAgentParameters(Map<String,String> agentParameters)
 Parameters used by the profiler. | 
| AgentConfiguration | withPeriodInSeconds(Integer periodInSeconds)
 How long a profiling agent should send profiling data using 
  ConfigureAgent. | 
| AgentConfiguration | withShouldProfile(Boolean shouldProfile)
 A  Booleanthat specifies whether the profiling agent collects profiling data or not. | 
public Map<String,String> getAgentParameters()
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 method A, which calls method B, which calls
 method C, which calls method D, then the depth is 4. If the maxDepth is
 set to 2, then the profiler evaluates A and B.
 
 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.
 
         MaxStackDepth - The maximum depth of the stacks in the code that is represented in the
         profile. For example, if CodeGuru Profiler finds a method A, which calls method
         B, which calls method C, which calls method D, then the depth is
         4. If the maxDepth is set to 2, then the profiler evaluates A and
         B.
         
         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.
         
public void setAgentParameters(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 method A, which calls method B, which calls
 method C, which calls method D, then the depth is 4. If the maxDepth is
 set to 2, then the profiler evaluates A and B.
 
 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.
 
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 method A, which calls method
        B, which calls method C, which calls method D, then the depth is 4.
        If the maxDepth is set to 2, then the profiler evaluates A and B.
        
        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.
        
public AgentConfiguration withAgentParameters(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 method A, which calls method B, which calls
 method C, which calls method D, then the depth is 4. If the maxDepth is
 set to 2, then the profiler evaluates A and B.
 
 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.
 
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 method A, which calls method
        B, which calls method C, which calls method D, then the depth is 4.
        If the maxDepth is set to 2, then the profiler evaluates A and B.
        
        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.
        
public AgentConfiguration addAgentParametersEntry(String key, String value)
public AgentConfiguration clearAgentParametersEntries()
public void setPeriodInSeconds(Integer periodInSeconds)
 How long a profiling agent should send profiling data using 
 ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
 ConfigureAgent  every 5 minutes to submit the profiled data collected during that period.
 
periodInSeconds - How long a profiling agent should send profiling data using 
        ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
        ConfigureAgent  every 5 minutes to submit the profiled data collected during that period.public Integer getPeriodInSeconds()
 How long a profiling agent should send profiling data using 
 ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
 ConfigureAgent  every 5 minutes to submit the profiled data collected during that period.
 
ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
         ConfigureAgent  every 5 minutes to submit the profiled data collected during that
         period.public AgentConfiguration withPeriodInSeconds(Integer periodInSeconds)
 How long a profiling agent should send profiling data using 
 ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
 ConfigureAgent  every 5 minutes to submit the profiled data collected during that period.
 
periodInSeconds - How long a profiling agent should send profiling data using 
        ConfigureAgent . For example, if this is set to 300, the profiling agent calls 
        ConfigureAgent  every 5 minutes to submit the profiled data collected during that period.public void setShouldProfile(Boolean shouldProfile)
 A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
 true to enable profiling.
 
shouldProfile - A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
        true to enable profiling.public Boolean getShouldProfile()
 A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
 true to enable profiling.
 
Boolean that specifies whether the profiling agent collects profiling data or not. Set to
         true to enable profiling.public AgentConfiguration withShouldProfile(Boolean shouldProfile)
 A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
 true to enable profiling.
 
shouldProfile - A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
        true to enable profiling.public Boolean isShouldProfile()
 A Boolean that specifies whether the profiling agent collects profiling data or not. Set to
 true to enable profiling.
 
Boolean that specifies whether the profiling agent collects profiling data or not. Set to
         true to enable profiling.public String toString()
toString in class ObjectObject.toString()public AgentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.