public AmiProductSummary withVisibility(AmiProductVisibilityString visibility) {
        this.visibility = visibility.toString();
        return this;
    }
<p>
The lifecycle of the AMI product.
</p>

@param visibility
       The lifecycle of the AMI product.
@return Returns a reference to this object so that method calls can be chained together.
@see AmiProductVisibilityString
aws-java-sdk-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/AmiProductSummary.java