public PutExternalModelRequest withInvokeModelEndpointRoleArn(String invokeModelEndpointRoleArn) {
        setInvokeModelEndpointRoleArn(invokeModelEndpointRoleArn);
        return this;
    }
<p>
The IAM role used to invoke the model endpoint.
</p>

@param invokeModelEndpointRoleArn
       The IAM role used to invoke the model endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/PutExternalModelRequest.java