Skip to content

Commit

Permalink
Merge pull request #2 from AdrenalineHunter/endpoint
Browse files Browse the repository at this point in the history
Add endpoint on User identity
  • Loading branch information
Jérémy JOURDIN committed Nov 9, 2015
2 parents 5def4ba + a15ec76 commit db35861
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Model/Identity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ class User extends AbstractIdentity
*/
protected $region;

/**
* @var string AWS API Endpoint
*
* @Identity()
*/
protected $endpoint;

/**
* Set AWS API Key
*
Expand Down Expand Up @@ -104,4 +111,28 @@ public function getRegion()
{
return $this->region;
}

/**
* Set AWS API Endpoint
*
* @param string $endpoint AWS API Endpoint
*
* @return {$this}
*/
public function setEndpoint($endpoint)
{
$this->endpoint = $endpoint;

return $this;
}

/**
* Get AWS API Endpoint
*
* @return string AWS API Endpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
}

0 comments on commit db35861

Please sign in to comment.