public UpdateListRequest withVariableType(String variableType) {
        setVariableType(variableType);
        return this;
    }
<p>
The variable type you want to assign to the list.
</p>
<note>
<p>
You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a
variable type to a list only if the list does not already have a variable type.
</p>
</note>

@param variableType
       The variable type you want to assign to the list. </p> <note>
       <p>
       You cannot update a variable type of a list that already has a variable type assigned to it. You can
       assign a variable type to a list only if the list does not already have a variable type.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/UpdateListRequest.java