public UpdateSecurityProfileResult withAlertTargets(java.util.Map<String, AlertTarget> alertTargets) {
        setAlertTargets(alertTargets);
        return this;
    }
<p>
Where the alerts are sent. (Alerts are always sent to the console.)
</p>

@param alertTargets
       Where the alerts are sent. (Alerts are always sent to the console.)
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateSecurityProfileResult.java