public void setPathPart(String pathPart) {
        this.pathPart = pathPart;
    }
<p>
The last path segment for this resource.
</p>

@param pathPart
       The last path segment for this resource.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetResourceResult.java