Package com.amazonaws.services.ec2.model
Class SpotFleetMonitoring
- java.lang.Object
-
- com.amazonaws.services.ec2.model.SpotFleetMonitoring
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SpotFleetMonitoring extends Object implements Serializable, Cloneable
Describes whether monitoring is enabled.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpotFleetMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpotFleetMonitoring
clone()
boolean
equals(Object obj)
Boolean
getEnabled()
Enables monitoring for the instance.int
hashCode()
Boolean
isEnabled()
Enables monitoring for the instance.void
setEnabled(Boolean enabled)
Enables monitoring for the instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.SpotFleetMonitoring
withEnabled(Boolean enabled)
Enables monitoring for the instance.
-
-
-
Method Detail
-
setEnabled
public void setEnabled(Boolean enabled)
Enables monitoring for the instance.
Default:
false
- Parameters:
enabled
- Enables monitoring for the instance.Default:
false
-
getEnabled
public Boolean getEnabled()
Enables monitoring for the instance.
Default:
false
- Returns:
- Enables monitoring for the instance.
Default:
false
-
withEnabled
public SpotFleetMonitoring withEnabled(Boolean enabled)
Enables monitoring for the instance.
Default:
false
- Parameters:
enabled
- Enables monitoring for the instance.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
public Boolean isEnabled()
Enables monitoring for the instance.
Default:
false
- Returns:
- Enables monitoring for the instance.
Default:
false
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SpotFleetMonitoring clone()
-
-