public Integer getParentId() {
        return this.parentId;
    }
<p>
The Parent identifier for the detected text identified by the value of <code>ID</code>. If the type of detected
text is <code>LINE</code>, the value of <code>ParentId</code> is <code>Null</code>.
</p>

@return The Parent identifier for the detected text identified by the value of <code>ID</code>. If the type of
        detected text is <code>LINE</code>, the value of <code>ParentId</code> is <code>Null</code>.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java