public PutIntegrationRequest withType(IntegrationType type) {
        this.type = type.toString();
        return this;
    }
<p>
Specifies a put integration input's type.
</p>

@param type
       Specifies a put integration input's type.
@return Returns a reference to this object so that method calls can be chained together.
@see IntegrationType
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/PutIntegrationRequest.java