key = trim($key); $this->secret = trim($secret); $this->token = $token; } /** * @return string */ public function getAccessKeyId() { return $this->key; } /** * @return string */ public function getAccessKeySecret() { return $this->secret; } /** * @return string|null */ public function getSecurityToken() { return $this->token; } }