public void rebootInstance(String instanceId, boolean forceStop) {
        this.rebootInstance(new RebootInstanceRequest().withInstanceId(instanceId).withForceStop(forceStop));
    }
public void rebootInstance ( String instanceId , boolean forceStop ) { this . rebootInstance ( new RebootInstanceRequest ( ) . withInstanceId ( instanceId ) . withForceStop ( forceStop ) ) ; }
Rebooting the instance owned by the user.

You can reboot the instance only when the instance is Running,
otherwise,it's will get <code>409</code> errorCode.

This is an asynchronous interface,
you can get the latest status by invoke {@link #getInstance(GetInstanceRequest)}

@param instanceId The id of the instance.
@param forceStop The option param to stop the instance forcibly.If <code>true</code>,
it will stop the instance just like power off immediately
and it may result int losing important data which have not written to disk.