public StateMachineListItem withType(String type) {
        setType(type);
        return this;
    }
<p/>

@param type
@return Returns a reference to this object so that method calls can be chained together.
@see StateMachineType
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/StateMachineListItem.java