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 SpotFleetMonitoringclone()booleanequals(Object obj)BooleangetEnabled()Enables monitoring for the instance.inthashCode()BooleanisEnabled()Enables monitoring for the instance.voidsetEnabled(Boolean enabled)Enables monitoring for the instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.SpotFleetMonitoringwithEnabled(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SpotFleetMonitoring clone()
-
-