public FunctionUrlConfig withAuthType(FunctionUrlAuthType authType) {
        this.authType = authType.toString();
        return this;
    }
<p>
The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to restrict
access to authenticated users only. Set to <code>NONE</code> if you want to bypass IAM authentication to create a
public endpoint. For more information, see <a
href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function
URLs</a>.
</p>

@param authType
       The type of authentication that your function URL uses. Set to <code>AWS_IAM</code> if you want to
       restrict access to authenticated users only. Set to <code>NONE</code> if you want to bypass IAM
       authentication to create a public endpoint. For more information, see <a
       href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda
       function URLs</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see FunctionUrlAuthType
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/FunctionUrlConfig.java