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.

PurchaseReservedDBInstancesOfferingInput

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

type PurchaseReservedDBInstancesOfferingInput struct { DBInstanceCount *int64 `type:"integer"` ReservedDBInstanceId *string `type:"string"` ReservedDBInstancesOfferingId *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

DBInstanceCount

Type: *int64

The number of instances to reserve.

Default: 1

ReservedDBInstanceId

Type: *string

Customer-specified identifier to track this reservation.

Example: myreservationID

ReservedDBInstancesOfferingId

Type: *string

The ID of the Reserved DB instance offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

ReservedDBInstancesOfferingId is a required field

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Method

GoString

func (s PurchaseReservedDBInstancesOfferingInput) GoString() string

GoString returns the string representation

SetDBInstanceCount

func (s *PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount(v int64) *PurchaseReservedDBInstancesOfferingInput

SetDBInstanceCount sets the DBInstanceCount field's value.

SetReservedDBInstanceId

func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId(v string) *PurchaseReservedDBInstancesOfferingInput

SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.

SetReservedDBInstancesOfferingId

func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId(v string) *PurchaseReservedDBInstancesOfferingInput

SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.

SetTags

func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []*Tag) *PurchaseReservedDBInstancesOfferingInput

SetTags sets the Tags field's value.

String

func (s PurchaseReservedDBInstancesOfferingInput) String() string

String returns the string representation

Validate

func (s *PurchaseReservedDBInstancesOfferingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: