public boolean isRequired() {
        return required;
    }
@return Returns whether or not the service requires endpoint discovery.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/clientendpointdiscovery/ClientDiscoveredEndpointTrait.java