public void setCacheBehaviors(java.util.Collection<CacheBehaviorPerPath> cacheBehaviors) {
        if (cacheBehaviors == null) {
            this.cacheBehaviors = null;
            return;
        }

        this.cacheBehaviors = new java.util.ArrayList<CacheBehaviorPerPath>(cacheBehaviors);
    }
<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.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LightsailDistribution.java