public void setPath(String path) {
        this.path = path;
    }
<p>
The URL path of the target. It is a valid field for the API entity types of <code>RESOURCE</code>,
<code>METHOD</code>, <code>PATH_PARAMETER</code>, <code>QUERY_PARAMETER</code>, <code>REQUEST_HEADER</code>,
<code>REQUEST_BODY</code>, <code>RESPONSE</code>, <code>RESPONSE_HEADER</code>, and <code>RESPONSE_BODY</code>.
The default value is <code>/</code> for the root resource. When an applicable child entity inherits the content
of another entity of the same type with more general specifications of the other <code>location</code>
attributes, the child entity's <code>path</code> attribute must match that of the parent entity as a prefix.
</p>

@param path
       The URL path of the target. It is a valid field for the API entity types of <code>RESOURCE</code>,
       <code>METHOD</code>, <code>PATH_PARAMETER</code>, <code>QUERY_PARAMETER</code>,
       <code>REQUEST_HEADER</code>, <code>REQUEST_BODY</code>, <code>RESPONSE</code>,
       <code>RESPONSE_HEADER</code>, and <code>RESPONSE_BODY</code>. The default value is <code>/</code> for the
       root resource. When an applicable child entity inherits the content of another entity of the same type
       with more general specifications of the other <code>location</code> attributes, the child entity's
       <code>path</code> attribute must match that of the parent entity as a prefix.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/DocumentationPartLocation.java