@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringStoppingCondition extends Object implements Serializable, Cloneable, StructuredPojo
A time limit for how long the monitoring job is allowed to run before stopping.
Constructor and Description |
---|
MonitoringStoppingCondition() |
Modifier and Type | Method and Description |
---|---|
MonitoringStoppingCondition |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxRuntimeInSeconds()
The maximum runtime allowed in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum runtime allowed in seconds.
|
String |
toString()
Returns a string representation of this object.
|
MonitoringStoppingCondition |
withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum runtime allowed in seconds.
|
public void setMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum runtime allowed in seconds.
maxRuntimeInSeconds
- The maximum runtime allowed in seconds.public Integer getMaxRuntimeInSeconds()
The maximum runtime allowed in seconds.
public MonitoringStoppingCondition withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum runtime allowed in seconds.
maxRuntimeInSeconds
- The maximum runtime allowed in seconds.public String toString()
toString
in class Object
Object.toString()
public MonitoringStoppingCondition 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.