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.

PurchaseReservedCacheNodesOfferingInput

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

type PurchaseReservedCacheNodesOfferingInput struct { CacheNodeCount *int64 `type:"integer"` ReservedCacheNodeId *string `type:"string"` ReservedCacheNodesOfferingId *string `type:"string" required:"true"` }

Represents the input of a PurchaseReservedCacheNodesOffering operation.

CacheNodeCount

Type: *int64

The number of cache node instances to reserve.

Default: 1

ReservedCacheNodeId

Type: *string

A customer-specified identifier to track this reservation.

The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

Example: myreservationID

ReservedCacheNodesOfferingId

Type: *string

The ID of the reserved cache node offering to purchase.

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

ReservedCacheNodesOfferingId is a required field

Method

GoString

func (s PurchaseReservedCacheNodesOfferingInput) GoString() string

GoString returns the string representation

SetCacheNodeCount

func (s *PurchaseReservedCacheNodesOfferingInput) SetCacheNodeCount(v int64) *PurchaseReservedCacheNodesOfferingInput

SetCacheNodeCount sets the CacheNodeCount field's value.

SetReservedCacheNodeId

func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodeId(v string) *PurchaseReservedCacheNodesOfferingInput

SetReservedCacheNodeId sets the ReservedCacheNodeId field's value.

SetReservedCacheNodesOfferingId

func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodesOfferingId(v string) *PurchaseReservedCacheNodesOfferingInput

SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.

String

func (s PurchaseReservedCacheNodesOfferingInput) String() string

String returns the string representation

Validate

func (s *PurchaseReservedCacheNodesOfferingInput) Validate() error

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

On this page: