@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the agent to use.
Constructor and Description |
---|
AgentConfiguration() |
Modifier and Type | Method and Description |
---|---|
AgentConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getPeriodInSeconds()
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
|
Boolean |
getShouldProfile()
Specifies if the profiling should be enabled by the agent.
|
int |
hashCode() |
Boolean |
isShouldProfile()
Specifies if the profiling should be enabled by the agent.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPeriodInSeconds(Integer periodInSeconds)
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
|
void |
setShouldProfile(Boolean shouldProfile)
Specifies if the profiling should be enabled by the agent.
|
String |
toString()
Returns a string representation of this object.
|
AgentConfiguration |
withPeriodInSeconds(Integer periodInSeconds)
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
|
AgentConfiguration |
withShouldProfile(Boolean shouldProfile)
Specifies if the profiling should be enabled by the agent.
|
public void setPeriodInSeconds(Integer periodInSeconds)
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
periodInSeconds
- Specifies the period to follow the configuration (to profile or not) and call back to get a new
configuration.public Integer getPeriodInSeconds()
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
public AgentConfiguration withPeriodInSeconds(Integer periodInSeconds)
Specifies the period to follow the configuration (to profile or not) and call back to get a new configuration.
periodInSeconds
- Specifies the period to follow the configuration (to profile or not) and call back to get a new
configuration.public void setShouldProfile(Boolean shouldProfile)
Specifies if the profiling should be enabled by the agent.
shouldProfile
- Specifies if the profiling should be enabled by the agent.public Boolean getShouldProfile()
Specifies if the profiling should be enabled by the agent.
public AgentConfiguration withShouldProfile(Boolean shouldProfile)
Specifies if the profiling should be enabled by the agent.
shouldProfile
- Specifies if the profiling should be enabled by the agent.public Boolean isShouldProfile()
Specifies if the profiling should be enabled by the agent.
public String toString()
toString
in class Object
Object.toString()
public AgentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.