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.

ReservedNodeOffering

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

type ReservedNodeOffering struct { CurrencyCode *string `type:"string"` Duration *int64 `type:"integer"` FixedPrice *float64 `type:"double"` NodeType *string `type:"string"` OfferingType *string `type:"string"` RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"` ReservedNodeOfferingId *string `type:"string"` ReservedNodeOfferingType *string `type:"string" enum:"ReservedNodeOfferingType"` UsagePrice *float64 `type:"double"` }

Describes a reserved node offering.

CurrencyCode

Type: *string

The currency code for the compute nodes offering.

Duration

Type: *int64

The duration, in seconds, for which the offering will reserve the node.

FixedPrice

Type: *float64

The upfront fixed charge you will pay to purchase the specific reserved node offering.

NodeType

Type: *string

The node type offered by the reserved node offering.

OfferingType

Type: *string

The anticipated utilization of the reserved node, as defined in the reserved node offering.

RecurringCharges

Describes a recurring charge.

ReservedNodeOfferingId

Type: *string

The offering identifier.

ReservedNodeOfferingType

Type: *string

UsagePrice

Type: *float64

The rate you are charged for each hour the cluster that is using the offering is running.

Method

GoString

func (s ReservedNodeOffering) GoString() string

GoString returns the string representation

SetCurrencyCode

func (s *ReservedNodeOffering) SetCurrencyCode(v string) *ReservedNodeOffering

SetCurrencyCode sets the CurrencyCode field's value.

SetDuration

func (s *ReservedNodeOffering) SetDuration(v int64) *ReservedNodeOffering

SetDuration sets the Duration field's value.

SetFixedPrice

func (s *ReservedNodeOffering) SetFixedPrice(v float64) *ReservedNodeOffering

SetFixedPrice sets the FixedPrice field's value.

SetNodeType

func (s *ReservedNodeOffering) SetNodeType(v string) *ReservedNodeOffering

SetNodeType sets the NodeType field's value.

SetOfferingType

func (s *ReservedNodeOffering) SetOfferingType(v string) *ReservedNodeOffering

SetOfferingType sets the OfferingType field's value.

SetRecurringCharges

func (s *ReservedNodeOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedNodeOffering

SetRecurringCharges sets the RecurringCharges field's value.

SetReservedNodeOfferingId

func (s *ReservedNodeOffering) SetReservedNodeOfferingId(v string) *ReservedNodeOffering

SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value.

SetReservedNodeOfferingType

func (s *ReservedNodeOffering) SetReservedNodeOfferingType(v string) *ReservedNodeOffering

SetReservedNodeOfferingType sets the ReservedNodeOfferingType field's value.

SetUsagePrice

func (s *ReservedNodeOffering) SetUsagePrice(v float64) *ReservedNodeOffering

SetUsagePrice sets the UsagePrice field's value.

String

func (s ReservedNodeOffering) String() string

String returns the string representation

On this page: