public function setHotspotLabel($hotspotLabel)
    {
        if (Format::isString256($hotspotLabel) === true) {
            $this->hotspotLabel = $hotspotLabel;
        } else {
            $msg = "The 'hotspotLabel' argument must be a string value with at most 256 characters.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setHotspotLabel($hotspotLabel)
    {
        if (Format::isString256($hotspotLabel) === true) {
            $this->hotspotLabel = $hotspotLabel;
        } else {
            $msg = "The 'hotspotLabel' argument must be a string value with at most 256 characters.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setHotspotLabel ( $ hotspotLabel ) { if ( Format :: isString256 ( $ hotspotLabel ) === true ) { $ this -> hotspotLabel = $ hotspotLabel ; } else { $ msg = "The 'hotspotLabel' argument must be a string value with at most 256 characters." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the hotspotLabel of the associableHotspot.

@param string $hotspotLabel A string with at most 256 characters.
@throws \InvalidArgumentException If $hotspotLabel has more than 256 characters.
Set the hotspotLabel of the associableHotspot .