public String getSelectionPattern() {
        return this.selectionPattern;
    }
<p>
Specifies the regular expression (regex) pattern used to choose an integration response based on the response
from the back end. For example, if the success response returns nothing and the error response returns some
string, you could use the <code>.+</code> regex to match error response. However, make sure that the error
response does not contain any newline (<code>\n</code>) character in such cases. If the back end is an Lambda
function, the Lambda function error header is matched. For all other HTTP and Amazon Web Services back ends, the
HTTP status code is matched.
</p>

@return Specifies the regular expression (regex) pattern used to choose an integration response based on the
        response from the back end. For example, if the success response returns nothing and the error response
        returns some string, you could use the <code>.+</code> regex to match error response. However, make sure
        that the error response does not contain any newline (<code>\n</code>) character in such cases. If the
        back end is an Lambda function, the Lambda function error header is matched. For all other HTTP and
        Amazon Web Services back ends, the HTTP status code is matched.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetIntegrationResponseResult.java