public void setMonitoring(Boolean monitoring) {
        this.monitoring = monitoring;
    }
<p>
Specifies whether detailed monitoring is enabled for the instance.
</p>

@param monitoring
       Specifies whether detailed monitoring is enabled for the instance.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java