public NotificationConfig withNotificationType(String notificationType) {
        setNotificationType(notificationType);
        return this;
    }
<p>
The type of notification.
</p>
<ul>
<li>
<p>
<code>Command</code>: Receive notification when the status of a command changes.
</p>
</li>
<li>
<p>
<code>Invocation</code>: For commands sent to multiple managed nodes, receive notification on a per-node basis
when the status of a command changes.
</p>
</li>
</ul>

@param notificationType
       The type of notification.</p>
       <ul>
       <li>
       <p>
       <code>Command</code>: Receive notification when the status of a command changes.
       </p>
       </li>
       <li>
       <p>
       <code>Invocation</code>: For commands sent to multiple managed nodes, receive notification on a per-node
       basis when the status of a command changes.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see NotificationType
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/NotificationConfig.java