Skip to content

/AWS1/CL_EC2CAPRESVADJSTMTDETS

Describes the configuration that a Capacity Reservation will have after a pending adjustment is applied.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_startdate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The start date that the Capacity Reservation will have after the adjustment.

iv_enddate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The end date that the Capacity Reservation will have after the adjustment.

iv_commitmentenddate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time at which the commitment duration will expire after the adjustment.

iv_enddatetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

  • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

iv_commitmentduration TYPE /AWS1/EC2BOXEDLONG /AWS1/EC2BOXEDLONG

The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.


Queryable Attributes

StartDate

The start date that the Capacity Reservation will have after the adjustment.

Accessible with the following methods

Method Description
GET_STARTDATE() Getter for STARTDATE, with configurable default
ASK_STARTDATE() Getter for STARTDATE w/ exceptions if field has no value
HAS_STARTDATE() Determine if STARTDATE has a value

EndDate

The end date that the Capacity Reservation will have after the adjustment.

Accessible with the following methods

Method Description
GET_ENDDATE() Getter for ENDDATE, with configurable default
ASK_ENDDATE() Getter for ENDDATE w/ exceptions if field has no value
HAS_ENDDATE() Determine if ENDDATE has a value

CommitmentEndDate

The date and time at which the commitment duration will expire after the adjustment.

Accessible with the following methods

Method Description
GET_COMMITMENTENDDATE() Getter for COMMITMENTENDDATE, with configurable default
ASK_COMMITMENTENDDATE() Getter for COMMITMENTENDDATE w/ exceptions if field has no v
HAS_COMMITMENTENDDATE() Determine if COMMITMENTENDDATE has a value

EndDateType

Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

  • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

Accessible with the following methods

Method Description
GET_ENDDATETYPE() Getter for ENDDATETYPE, with configurable default
ASK_ENDDATETYPE() Getter for ENDDATETYPE w/ exceptions if field has no value
HAS_ENDDATETYPE() Determine if ENDDATETYPE has a value

CommitmentDuration

The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.

Accessible with the following methods

Method Description
GET_COMMITMENTDURATION() Getter for COMMITMENTDURATION, with configurable default
ASK_COMMITMENTDURATION() Getter for COMMITMENTDURATION w/ exceptions if field has no
HAS_COMMITMENTDURATION() Determine if COMMITMENTDURATION has a value