public void setConfiguration(AgentConfiguration configuration) {
        this.configuration = configuration;
    }
<p>
An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentConfiguration.html">
<code>AgentConfiguration</code> </a> object that specifies if an agent profiles or not and for how long to return
profiling data.
</p>

@param configuration
       An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentConfiguration.html">
       <code>AgentConfiguration</code> </a> object that specifies if an agent profiles or not and for how long to
       return profiling data.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/ConfigureAgentResult.java