public UpdateShareInvitationResult withShareInvitation(ShareInvitation shareInvitation) {
        setShareInvitation(shareInvitation);
        return this;
    }
<p>
The updated workload or custom lens share invitation.
</p>

@param shareInvitation
       The updated workload or custom lens share invitation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/UpdateShareInvitationResult.java