classAlterResourceGroupStmtWithAlterResourceSymGroupSymIdentOptResourceGroupVcpuListOptResourceGroupPriori_2421b3ea
final class AlterResourceGroupStmtWithAlterResourceSymGroupSymIdentOptResourceGroupVcpuListOptResourceGroupPriori_2421b3ea
implements AlterResourceGroupStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_resource_group_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterResourceGroupStmtWithAlterResourceSymGroupSymIdentOptResourceGroupVcpuListOptResourceGroupPriori_2421b3ea $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic OptResourceGroupVcpuListForm $optResourceGroupVcpuListpublic OptResourceGroupPriorityForm $optResourceGroupPrioritypublic OptResourceGroupEnableDisableForm $optResourceGroupEnableDisablepublic OptForceForm $optForcepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public OptResourceGroupVcpuListForm $optResourceGroupVcpuList,
public OptResourceGroupPriorityForm $optResourceGroupPriority,
public OptResourceGroupEnableDisableForm $optResourceGroupEnableDisable,
public OptForceForm $optForce,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$ident | IdentForm | |
$optResourceGroupVcpuList | OptResourceGroupVcpuListForm | |
$optResourceGroupPriority | OptResourceGroupPriorityForm | |
$optResourceGroupEnableDisable | OptResourceGroupEnableDisableForm | |
$optForce | OptForceForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 42
- method-call Writer::append() line 43
- method-call IdentForm::write() line 49
- method-call OptResourceGroupVcpuListForm::write() line 51
- method-call OptResourceGroupPriorityForm::write() line 53
- method-call OptResourceGroupEnableDisableForm::write() line 55
- method-call OptForceForm::write() line 57
public function withIdent(IdentForm $ident): selfpublic function withOptResourceGroupVcpuList(OptResourceGroupVcpuListForm $optResourceGroupVcpuList): selfReturns a copy with a new optResourceGroupVcpuList, preserving every other field.
Parameters
$optResourceGroupVcpuList | OptResourceGroupVcpuListForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptResourceGroupPriority(OptResourceGroupPriorityForm $optResourceGroupPriority): selfReturns a copy with a new optResourceGroupPriority, preserving every other field.
Parameters
$optResourceGroupPriority | OptResourceGroupPriorityForm |
Returns
selfCalls 1
- new
selfline 81
public function withOptResourceGroupEnableDisable(OptResourceGroupEnableDisableForm $optResourceGroupEnableDisable): selfReturns a copy with a new optResourceGroupEnableDisable, preserving every other field.
Parameters
$optResourceGroupEnableDisable | OptResourceGroupEnableDisableForm |
Returns
selfCalls 1
- new
selfline 89
public function withOptForce(OptForceForm $optForce): selfReturns a copy with a new optForce, preserving every other field.
Parameters
$optForce | OptForceForm |
Returns
selfCalls 1
- new
selfline 97