public GetResourceResult withParentId(String parentId) {
        setParentId(parentId);
        return this;
    }
<p>
The parent resource's identifier.
</p>

@param parentId
       The parent resource's identifier.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetResourceResult.java