public GetTypeRequest withFormat(String format) {
        setFormat(format);
        return this;
    }
<p>
The type format: SDL or JSON.
</p>

@param format
       The type format: SDL or JSON.
@return Returns a reference to this object so that method calls can be chained together.
@see TypeDefinitionFormat
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/GetTypeRequest.java