/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codeguruprofiler.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The response of * ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling * data. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AgentConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* Parameters used by the profiler. The valid parameters are: *

* */ private java.util.Map agentParameters; /** *

* 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. *

*/ private Integer periodInSeconds; /** *

* A Boolean that specifies whether the profiling agent collects profiling data or not. Set to * true to enable profiling. *

*/ private Boolean shouldProfile; /** *

* Parameters used by the profiler. The valid parameters are: *

* * * @return Parameters used by the profiler. The valid parameters are:

*