public LambdaConfiguration withInvocationType(String invocationType) {
        setInvocationType(invocationType);
        return this;
    }
<p>
Controls how the Lambda function is invoked.
</p>

@param invocationType
       Controls how the Lambda function is invoked.
@return Returns a reference to this object so that method calls can be chained together.
@see InvocationType
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/LambdaConfiguration.java