public LightsailDistribution withIsEnabled(Boolean isEnabled) {
        setIsEnabled(isEnabled);
        return this;
    }
<p>
Indicates whether the distribution is enabled.
</p>

@param isEnabled
       Indicates whether the distribution is enabled.
@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