Skip to content

/AWS1/CL_EC2CRECAPRESERVATIO05

CreateCapacityReservationBySplittingResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IO_SOURCECAPACITYRESERVATION TYPE REF TO /AWS1/CL_EC2CAPRESERVATION /AWS1/CL_EC2CAPRESERVATION

Information about the source Capacity Reservation.

IO_DSTCAPACITYRESERVATION TYPE REF TO /AWS1/CL_EC2CAPRESERVATION /AWS1/CL_EC2CAPRESERVATION

Information about the destination Capacity Reservation.

IV_INSTANCECOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.


Queryable Attributes

SourceCapacityReservation

Information about the source Capacity Reservation.

Accessible with the following methods

Method Description
GET_SOURCECAPRESERVATION() Getter for SOURCECAPACITYRESERVATION

DestinationCapacityReservation

Information about the destination Capacity Reservation.

Accessible with the following methods

Method Description
GET_DSTCAPACITYRESERVATION() Getter for DSTCAPACITYRESERVATION

InstanceCount

The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.

Accessible with the following methods

Method Description
GET_INSTANCECOUNT() Getter for INSTANCECOUNT, with configurable default
ASK_INSTANCECOUNT() Getter for INSTANCECOUNT w/ exceptions if field has no value
HAS_INSTANCECOUNT() Determine if INSTANCECOUNT has a value