public function withApnId(ApnId $apnId = null): Notification
    {
        $cloned = clone $this;

        $cloned->apnId = $apnId;

        return $cloned;
    }
public function withApnId(ApnId $apnId = null): Notification
    {
        $cloned = clone $this;

        $cloned->apnId = $apnId;

        return $cloned;
    }
public function withApnId ( ApnId $ apnId = null ) : Notification { $ cloned = clone $ this ; $ cloned -> apnId = $ apnId ; return $ cloned ; }
Set apn identifier

@param ApnId $apnId

@return Notification
Set apn identifier