public CreateProgramResult withAdBreaks(java.util.Collection<AdBreak> adBreaks) {
        setAdBreaks(adBreaks);
        return this;
    }
<p>
The ad break configuration settings.
</p>

@param adBreaks
       The ad break configuration settings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/CreateProgramResult.java