public Builder type(String type) {
            this.type = type;
            return this;
        }
Sets the type of the authorizer.

<p>If specifying information beyond the scheme, this value is
required. The value must be "token", for an authorizer with the
caller identity embedded in an authorization token, or "request",
for an authorizer with the caller identity contained in request
parameters.

@param type authorizer type.
@return Returns the builder.
smithy-aws-apigateway-traits/src/main/java/software/amazon/smithy/aws/apigateway/traits/AuthorizerDefinition.java