@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataMonitoringDetails extends Object implements Serializable, Cloneable, StructuredPojo
The monitoring for an Amazon EC2 instance.
| Constructor and Description |
|---|
AwsEc2LaunchTemplateDataMonitoringDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataMonitoringDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enables detailed monitoring when
true is specified. |
int |
hashCode() |
Boolean |
isEnabled()
Enables detailed monitoring when
true is specified. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Enables detailed monitoring when
true is specified. |
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataMonitoringDetails |
withEnabled(Boolean enabled)
Enables detailed monitoring when
true is specified. |
public AwsEc2LaunchTemplateDataMonitoringDetails()
public void setEnabled(Boolean enabled)
Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled. For more
information about detailed monitoring, see Enable or turn off detailed
monitoring for your instances in the Amazon EC2 User Guide.
enabled - Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled.
For more information about detailed monitoring, see Enable or turn off
detailed monitoring for your instances in the Amazon EC2 User Guide.public Boolean getEnabled()
Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled. For more
information about detailed monitoring, see Enable or turn off detailed
monitoring for your instances in the Amazon EC2 User Guide.
true is specified. Otherwise, basic monitoring is enabled.
For more information about detailed monitoring, see Enable or turn off
detailed monitoring for your instances in the Amazon EC2 User Guide.public AwsEc2LaunchTemplateDataMonitoringDetails withEnabled(Boolean enabled)
Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled. For more
information about detailed monitoring, see Enable or turn off detailed
monitoring for your instances in the Amazon EC2 User Guide.
enabled - Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled.
For more information about detailed monitoring, see Enable or turn off
detailed monitoring for your instances in the Amazon EC2 User Guide.public Boolean isEnabled()
Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled. For more
information about detailed monitoring, see Enable or turn off detailed
monitoring for your instances in the Amazon EC2 User Guide.
true is specified. Otherwise, basic monitoring is enabled.
For more information about detailed monitoring, see Enable or turn off
detailed monitoring for your instances in the Amazon EC2 User Guide.public String toString()
toString in class ObjectObject.toString()public AwsEc2LaunchTemplateDataMonitoringDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.