public Notifications withWarning(String warning) {
        setWarning(warning);
        return this;
    }
<p>
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
</p>

@param warning
       The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/Notifications.java