public UpdateApiResult withProtocolType(ProtocolType protocolType) {
        this.protocolType = protocolType.toString();
        return this;
    }
<p>
The API protocol.
</p>

@param protocolType
       The API protocol.
@return Returns a reference to this object so that method calls can be chained together.
@see ProtocolType
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/UpdateApiResult.java