public ValidateStateMachineDefinitionRequest withType(String type) {
        setType(type);
        return this;
    }
<p>
The target type of state machine for this definition. The default is <code>STANDARD</code>.
</p>

@param type
       The target type of state machine for this definition. The default is <code>STANDARD</code>.
@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/ValidateStateMachineDefinitionRequest.java