public LightsailDistribution withCacheBehaviors(java.util.Collection<CacheBehaviorPerPath> cacheBehaviors) {
        setCacheBehaviors(cacheBehaviors);
        return this;
    }
<p>
An array of objects that describe the per-path cache behavior of the distribution.
</p>

@param cacheBehaviors
       An array of objects that describe the per-path cache behavior of the distribution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LightsailDistribution.java