public EndpointTrait getEndpointTrait() {
        return endpointTrait;
    }
Returns the endpoint trait that will be used to resolve the endpoint of an API.
aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/model/intermediate/OperationModel.java