public CreateMonitorResult withMonitorArn(String monitorArn) {
        setMonitorArn(monitorArn);
        return this;
    }
<p>
The ARN of the monitor.
</p>

@param monitorArn
       The ARN of the monitor.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmonitor/src/main/java/com/amazonaws/services/networkmonitor/model/CreateMonitorResult.java