@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof AuthorizerDefinition)) {
            return false;
        }

        AuthorizerDefinition that = (AuthorizerDefinition) o;
        return scheme.equals(that.scheme)
                && Objects.equals(type, that.type)
                && Objects.equals(uri, that.uri)
                && Objects.equals(customAuthType, that.customAuthType)
                && Objects.equals(credentials, that.credentials)
                && Objects.equals(identitySource, that.identitySource)
                && Objects.equals(identityValidationExpression, that.identityValidationExpression)
                && Objects.equals(resultTtlInSeconds, that.resultTtlInSeconds)
                && Objects.equals(authorizerPayloadFormatVersion, that.authorizerPayloadFormatVersion)
                && Objects.equals(enableSimpleResponses, that.enableSimpleResponses);
    }
Gets whether the authorizer returns simple responses.

@return Returns true if authorizer returns a boolean,
false if it returns an IAM policy.
smithy-aws-apigateway-traits/src/main/java/software/amazon/smithy/aws/apigateway/traits/AuthorizerDefinition.java