public CreateDistributionResult withDistribution(LightsailDistribution distribution) {
        setDistribution(distribution);
        return this;
    }
<p>
An object that describes the distribution created.
</p>

@param distribution
       An object that describes the distribution created.
@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/CreateDistributionResult.java