public Optional<String> getAs() {
        return Optional.ofNullable(as);
    }
Gets the specification extension header value in "as".

@return Returns the optionally present "as".
smithy-openapi-traits/src/main/java/software/amazon/smithy/openapi/traits/SpecificationExtensionTrait.java