@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Monitoring extends Object implements Serializable, Cloneable
Describes the monitoring of an instance.
Constructor and Description |
---|
Monitoring() |
Modifier and Type | Method and Description |
---|---|
Monitoring |
clone() |
boolean |
equals(Object obj) |
String |
getState()
Indicates whether detailed monitoring is enabled.
|
int |
hashCode() |
void |
setState(MonitoringState state)
Indicates whether detailed monitoring is enabled.
|
void |
setState(String state)
Indicates whether detailed monitoring is enabled.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Monitoring |
withState(MonitoringState state)
Indicates whether detailed monitoring is enabled.
|
Monitoring |
withState(String state)
Indicates whether detailed monitoring is enabled.
|
public void setState(String state)
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
state
- Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.MonitoringState
public String getState()
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
MonitoringState
public Monitoring withState(String state)
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
state
- Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.MonitoringState
public void setState(MonitoringState state)
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
state
- Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.MonitoringState
public Monitoring withState(MonitoringState state)
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
state
- Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.MonitoringState
public String toString()
toString
in class Object
Object.toString()
public Monitoring clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.