public void setOrigin(Origin origin) {
        this.origin = origin;
    }
<p>
An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load
balancer.
</p>
<p>
The distribution pulls, caches, and serves content from the origin.
</p>

@param origin
       An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or
       load balancer.</p>
       <p>
       The distribution pulls, caches, and serves content from the origin.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LightsailDistribution.java