

def modify(self, param_group=None, security_groups=None, preferred_maintenance_window=None, master_password=None, allocated_storage=None, instance_class=None, backup_retention_period=None, preferred_backup_window=None, multi_az=False, apply_immediately=False):
    '\n        Modify this DBInstance.\n\n        :type security_groups: list of str or list of DBSecurityGroup objects\n        :param security_groups: List of names of DBSecurityGroup to authorize on\n                                this DBInstance.\n\n        :type preferred_maintenance_window: str\n        :param preferred_maintenance_window: The weekly time range (in UTC)\n                                             during which maintenance can\n                                             occur.\n                                             Default is Sun:05:00-Sun:09:00\n\n        :type master_password: str\n        :param master_password: Password of master user for the DBInstance.\n                                Must be 4-15 alphanumeric characters.\n\n        :type allocated_storage: int\n        :param allocated_storage: The new allocated storage size, in GBs.\n                                  Valid values are [5-1024]\n\n        :type instance_class: str\n        :param instance_class: The compute and memory capacity of the\n                               DBInstance.  Changes will be applied at\n                               next maintenance window unless\n                               apply_immediately is True.\n\n                               Valid values are:\n                               \n                               * db.m1.small\n                               * db.m1.large\n                               * db.m1.xlarge\n                               * db.m2.xlarge\n                               * db.m2.2xlarge\n                               * db.m2.4xlarge\n\n        :type apply_immediately: bool\n        :param apply_immediately: If true, the modifications will be applied\n                                  as soon as possible rather than waiting for\n                                  the next preferred maintenance window.\n\n        :type backup_retention_period: int\n        :param backup_retention_period: The number of days for which automated\n                                        backups are retained.  Setting this to\n                                        zero disables automated backups.\n\n        :type preferred_backup_window: str\n        :param preferred_backup_window: The daily time range during which\n                                        automated backups are created (if\n                                        enabled).  Must be in h24:mi-hh24:mi\n                                        format (UTC).\n\n        :type multi_az: bool\n        :param multi_az: If True, specifies the DB Instance will be\n                         deployed in multiple availability zones.\n\n        :rtype: :class:`boto.rds.dbinstance.DBInstance`\n        :return: The modified db instance.\n        '
    return self.connection.modify_dbinstance(self.id, param_group, security_groups, preferred_maintenance_window, master_password, preferred_backup_window, instance_class, backup_retention_period, preferred_backup_window, multi_az, apply_immediately)

dataset/ETHPy150Open darcyliu/storyboard/boto/rds/dbinstance.py DBInstance.modify/VarMisuse@71/908 `allocated_storage`->`preferred_backup_window`