msazureaccname = $msazureaccname; $this->msazurekey = $msazurekey; $this->msazurecontainer = $msazurecontainer; } /** * Builds a configuration for a new container. * * @param string $account_name Account name. * @param string $key Account key. * @param string $container Container name. * * @return self */ public static function with_new_container( string $account_name, string $key, string $container ): self { $configuration = new self( $account_name, $key, $container ); $configuration->new = true; return $configuration; } /** * Returns the account name. * * @return string */ public function msazureaccname(): string { return $this->msazureaccname; } /** * Returns the account key. * * @return string */ public function msazurekey(): string { return $this->msazurekey; } /** * Returns the container name. * * @return string */ public function msazurecontainer(): string { return $this->msazurecontainer; } /** * Whether the container is new. * * @return bool */ public function is_new(): bool { return $this->new; } }