public SharedImagePermissions withImagePermissions(ImagePermissions imagePermissions) {
        setImagePermissions(imagePermissions);
        return this;
    }
<p>
Describes the permissions for a shared image.
</p>

@param imagePermissions
       Describes the permissions for a shared image.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/SharedImagePermissions.java