Exemplo n.º 1
0
 /**
  * ClusterMemberData
  *
  * @param   string  $dBInstanceIdentifier           optional The instance identifier for this member of the DB cluster.
  * @param   bool    $isClusterWriter                optional Is the primary instance for the DB cluster.
  * @param   string  $dBClusterParameterGroupStatus  optional The status of the DB cluster parameter group for this member of the DB cluster.
  */
 public function __construct($dBInstanceIdentifier = null, $isClusterWriter = null, $dBClusterParameterGroupStatus = null)
 {
     parent::__construct();
     $this->dBInstanceIdentifier = $dBInstanceIdentifier;
     $this->isClusterWriter = $isClusterWriter;
     $this->dBClusterParameterGroupStatus = $dBClusterParameterGroupStatus;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  * @see Scalr\Service\Aws\Rds.AbstractRdsDataType::throwExceptionIfNotInitialized()
  */
 protected function throwExceptionIfNotInitialized()
 {
     parent::throwExceptionIfNotInitialized();
     if ($this->dBParameterGroupName === null) {
         throw new RdsException(sprintf('dbParameterGroupName has not been initialized for the "%s" yet', get_class($this)));
     }
 }
 /**
  * Constructor
  *
  * @param   string     $dBSubnetGroupName              The name for the DB subnet group. This value is stored as a lowercase string.
  * @param   string     $dBSubnetGroupDescription       optional The description for the DB subnet group.
  */
 public function __construct($dBSubnetGroupName, $dBSubnetGroupDescription = null)
 {
     parent::__construct();
     if ($dBSubnetGroupDescription !== null) {
         $this->dBSubnetGroupDescription = (string) $dBSubnetGroupDescription;
     }
     $this->dBSubnetGroupName = (string) $dBSubnetGroupName;
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  * @see Scalr\Service\Aws\Rds.AbstractRdsDataType::throwExceptionIfNotInitialized()
  */
 protected function throwExceptionIfNotInitialized()
 {
     parent::throwExceptionIfNotInitialized();
     if ($this->dBSnapshotIdentifier === null) {
         throw new RdsException(sprintf('dbSnapshotIdentifier has not been initialized for "%s" yet.', get_class($this)));
     }
 }
 /**
  * Constructor
  *
  * @param   string     $dBSecurityGroupName optional The name of the DB Security Group.
  * @param   string     $status              optional The status of the DB Security Group.
  */
 public function __construct($dBSecurityGroupName = null, $status = null)
 {
     parent::__construct();
     $this->dBSecurityGroupName = $dBSecurityGroupName;
     $this->status = $status;
 }
 /**
  * Constructor
  *
  * @param   string     $vpcSecurityGroupId optional The name of the VPC security group
  * @param   string     $status             optional The status of the VPC Security Group
  */
 public function __construct($vpcSecurityGroupId = null, $status = null)
 {
     parent::__construct();
     $this->vpcSecurityGroupId = $vpcSecurityGroupId;
     $this->status = $status;
 }
 /**
  * Constructor
  *
  * @param   string     $optionGroupName optional The name of the option group that the instance belongs to.
  * @param   string     $status          optional The status of the DB Instance's option group membership
  */
 public function __construct($optionGroupName = null, $status = null)
 {
     parent::__construct();
     $this->optionGroupName = $optionGroupName;
     $this->status = $status;
 }
Exemplo n.º 8
0
 /**
  * Constructor
  *
  * @param   string     $dBParameterGroupName optional The name of the DP Parameter Group
  * @param   string     $parameterApplyStatus optional The status of parameter updates
  */
 public function __construct($dBParameterGroupName = null, $parameterApplyStatus = null)
 {
     parent::__construct();
     $this->dBParameterGroupName = $dBParameterGroupName;
     $this->parameterApplyStatus = $parameterApplyStatus;
 }
 /**
  * Constructor
  *
  * @param   string     $dBClusterIdentifier The name of the DB cluster to create from the DB cluster snapshot. This parameter isn't case-sensitive.
  * @param   string     $snapshotIdentifier  The identifier for the DB cluster snapshot to restore from.
  */
 public function __construct($dBClusterIdentifier, $snapshotIdentifier)
 {
     parent::__construct();
     $this->dBClusterIdentifier = (string) $dBClusterIdentifier;
     $this->snapshotIdentifier = (string) $snapshotIdentifier;
 }
Exemplo n.º 10
0
 /**
  * Constructor
  *
  * @param   string     $cidrip optional Specifies the IP range.
  * @param   string     $status optional Provides the status of the IP range.
  */
 public function __construct($cidrip = null, $status = null)
 {
     parent::__construct();
     $this->cIDRIP = $cidrip;
     $this->status = $status;
 }
 /**
  * Construct
  *
  * @param   string     $groupName The name of the DB Security Group to revoke/authorize ingress from/to
  */
 public function __construct($groupName)
 {
     parent::__construct();
     $this->dBSecurityGroupName = $groupName;
 }
 /**
  * Constructor
  *
  * @param   string  $engine The name of the engine to retrieve DB instance options for.
  */
 public function __construct($engine)
 {
     parent::__construct();
     $this->engine = (string) $engine;
 }
Exemplo n.º 13
0
 /**
  * Constructor
  *
  * @param   string     $dBSubnetGroupDescription       The description for the DB subnet group.
  * @param   string     $dBSubnetGroupName              The name for the DB subnet group. This value is stored as a lowercase string.
  */
 public function __construct($dBSubnetGroupDescription, $dBSubnetGroupName)
 {
     parent::__construct();
     $this->dBSubnetGroupDescription = (string) $dBSubnetGroupDescription;
     $this->dBSubnetGroupName = (string) $dBSubnetGroupName;
 }
Exemplo n.º 14
0
 /**
  * Constructor
  *
  * @param   string     $address optional Specifies the DNS address of the DB Instance.
  * @param   int        $port    optional Specifies the port that the database engine is listening on.
  */
 public function __construct($address = null, $port = null)
 {
     parent::__construct();
     $this->address = $address;
     $this->port = $port;
 }
Exemplo n.º 15
0
 /**
  * Constructor
  *
  * @param   string     $name                   optional The name of the availability zone.
  * @param   bool       $provisionedIopsCapable optional True indicates the availability zone
  *                                             is capable of provisioned IOPs
  */
 public function __construct($name = null, $provisionedIopsCapable = null)
 {
     parent::__construct();
     $this->name = $name;
     $this->provisionedIopsCapable = $provisionedIopsCapable;
 }
Exemplo n.º 16
0
 /**
  * Constructor
  *
  * @param   string     $parameterName  optional The name of the parameter.
  * @param   string     $applyMethod    optional Indicates when to apply parameter updates.
  *                                              immediate | pending-reboot
  * @param   string     $parameterValue optional The value of the parameter.
  */
 public function __construct($parameterName = null, $applyMethod = null, $parameterValue = null)
 {
     parent::__construct();
     $this->parameterName = $parameterName;
     $this->parameterValue = $parameterValue;
     $this->applyMethod = $applyMethod;
 }
Exemplo n.º 17
0
 /**
  * Constructor
  *
  * @param   string     $dBInstanceIdentifier A user-supplied database identifier
  * @param   int        $allocatedStorage     The allocated storage size specified in gigabytes
  * @param   string     $dBInstanceClass      The name of the compute and memory capacity class of the DB Instance
  * @param   string     $engine               The name of the database engine to be used for this DB Instance
  * @param   string     $masterUsername       The master username
  * @param   string     $masterUserPassword   The password
  */
 public function __construct($dBInstanceIdentifier, $allocatedStorage, $dBInstanceClass, $engine, $masterUsername, $masterUserPassword)
 {
     parent::__construct();
     $this->dBInstanceIdentifier = (string) $dBInstanceIdentifier;
     $this->allocatedStorage = (int) $allocatedStorage;
     $this->dBInstanceClass = (string) $dBInstanceClass;
     $this->engine = (string) $engine;
     $this->masterUsername = (string) $masterUsername;
     $this->masterUserPassword = (string) $masterUserPassword;
 }
Exemplo n.º 18
0
 /**
  * Constructor
  *
  * @param   string     $dBInstanceIdentifier A user-supplied database identifier
  * @param   string     $dBInstanceClass      The name of the compute and memory capacity class of the DB Instance
  * @param   string     $engine               The name of the database engine to be used for this DB Instance
  */
 public function __construct($dBInstanceIdentifier, $dBInstanceClass, $engine)
 {
     parent::__construct();
     $this->dBInstanceIdentifier = (string) $dBInstanceIdentifier;
     $this->dBInstanceClass = (string) $dBInstanceClass;
     $this->engine = (string) $engine;
 }
 /**
  * Constructor
  *
  * @param   string     $dBInstanceIdentifier A user-supplied database identifier
  */
 public function __construct($dBInstanceIdentifier)
 {
     parent::__construct();
     $this->dBInstanceIdentifier = (string) $dBInstanceIdentifier;
 }
Exemplo n.º 20
0
 /**
  * Constructor
  *
  * @param   string  $dBClusterIdentifier    A user-supplied cluster identifier
  * @param   string  $engine                 The name of the database engine to be used for this DB Cluster
  * @param   string  $masterUsername         The master username for database instances in this cluster
  * @param   string  $masterUserPassword     The password form database instances in this cluster
  */
 public function __construct($dBClusterIdentifier, $engine, $masterUsername, $masterUserPassword)
 {
     parent::__construct();
     $this->dBClusterIdentifier = (string) $dBClusterIdentifier;
     $this->engine = (string) $engine;
     $this->masterUsername = (string) $masterUsername;
     $this->masterUserPassword = (string) $masterUserPassword;
 }