/AWS1/CL_SGMDESIREDWTANDCAP¶
Specifies weight and capacity values for a production variant.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_variantname TYPE /AWS1/SGMVARIANTNAME /AWS1/SGMVARIANTNAME¶
The name of the variant to update.
Optional arguments:¶
iv_desiredweight TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The variant's weight.
iv_desiredinstancecount TYPE /AWS1/SGMTASKCOUNT /AWS1/SGMTASKCOUNT¶
The variant's capacity.
io_serverlessupdateconfig TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN04 /AWS1/CL_SGMPRODUCTIONVARIAN04¶
Specifies the serverless update concurrency configuration for an endpoint variant.
Queryable Attributes¶
VariantName¶
The name of the variant to update.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VARIANTNAME() |
Getter for VARIANTNAME, with configurable default |
ASK_VARIANTNAME() |
Getter for VARIANTNAME w/ exceptions if field has no value |
HAS_VARIANTNAME() |
Determine if VARIANTNAME has a value |
DesiredWeight¶
The variant's weight.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESIREDWEIGHT() |
Getter for DESIREDWEIGHT, with configurable default |
ASK_DESIREDWEIGHT() |
Getter for DESIREDWEIGHT w/ exceptions if field has no value |
STR_DESIREDWEIGHT() |
String format for DESIREDWEIGHT, with configurable default |
HAS_DESIREDWEIGHT() |
Determine if DESIREDWEIGHT has a value |
DesiredInstanceCount¶
The variant's capacity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESIREDINSTANCECOUNT() |
Getter for DESIREDINSTANCECOUNT, with configurable default |
ASK_DESIREDINSTANCECOUNT() |
Getter for DESIREDINSTANCECOUNT w/ exceptions if field has n |
HAS_DESIREDINSTANCECOUNT() |
Determine if DESIREDINSTANCECOUNT has a value |
ServerlessUpdateConfig¶
Specifies the serverless update concurrency configuration for an endpoint variant.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SERVERLESSUPDATECONFIG() |
Getter for SERVERLESSUPDATECONFIG |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_DESIREDWEIGHTANDCAPLIST¶
TYPES TT_DESIREDWEIGHTANDCAPLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMDESIREDWTANDCAP WITH DEFAULT KEY
.