AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ReservationValue

import "github.com/aws/aws-sdk-go/service/ec2"

type ReservationValue struct { HourlyPrice *string `locationName:"hourlyPrice" type:"string"` RemainingTotalValue *string `locationName:"remainingTotalValue" type:"string"` RemainingUpfrontValue *string `locationName:"remainingUpfrontValue" type:"string"` }

The cost associated with the Reserved Instance.

HourlyPrice

Type: *string

The hourly rate of the reservation.

RemainingTotalValue

Type: *string

The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice

  • number of hours remaining).

RemainingUpfrontValue

Type: *string

The remaining upfront cost of the reservation.

Method

GoString

func (s ReservationValue) GoString() string

GoString returns the string representation

SetHourlyPrice

func (s *ReservationValue) SetHourlyPrice(v string) *ReservationValue

SetHourlyPrice sets the HourlyPrice field's value.

SetRemainingTotalValue

func (s *ReservationValue) SetRemainingTotalValue(v string) *ReservationValue

SetRemainingTotalValue sets the RemainingTotalValue field's value.

SetRemainingUpfrontValue

func (s *ReservationValue) SetRemainingUpfrontValue(v string) *ReservationValue

SetRemainingUpfrontValue sets the RemainingUpfrontValue field's value.

String

func (s ReservationValue) String() string

String returns the string representation

On this page: