src/Resources/BaseSnsResource.php
public function setParentResource($parentResource)
    {
        if (!empty($parentResource)) {
            $parentResource = $this->service->addArnPrefix($parentResource);
        }
        $this->parentResource = $parentResource;

        return $this;
    }
public function setParentResource($parentResource)
    {
        if (!empty($parentResource)) {
            $parentResource = $this->service->addArnPrefix($parentResource);
        }
        $this->parentResource = $parentResource;

        return $this;
    }
@param null|string $parentResource

@return $this