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.

ESInstanceDetails

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

type ESInstanceDetails struct { CurrentGeneration *bool `type:"boolean"` InstanceClass *string `type:"string"` InstanceSize *string `type:"string"` Region *string `type:"string"` SizeFlexEligible *bool `type:"boolean"` }

Details about the Amazon ES instances that AWS recommends that you purchase.

CurrentGeneration

Type: *bool

Whether the recommendation is for a current-generation instance.

InstanceClass

Type: *string

The class of instance that AWS recommends.

InstanceSize

Type: *string

The size of instance that AWS recommends.

Region

Type: *string

The AWS Region of the recommended reservation.

SizeFlexEligible

Type: *bool

Whether the recommended reservation is size flexible.

Method

GoString

func (s ESInstanceDetails) GoString() string

GoString returns the string representation

SetCurrentGeneration

func (s *ESInstanceDetails) SetCurrentGeneration(v bool) *ESInstanceDetails

SetCurrentGeneration sets the CurrentGeneration field's value.

SetInstanceClass

func (s *ESInstanceDetails) SetInstanceClass(v string) *ESInstanceDetails

SetInstanceClass sets the InstanceClass field's value.

SetInstanceSize

func (s *ESInstanceDetails) SetInstanceSize(v string) *ESInstanceDetails

SetInstanceSize sets the InstanceSize field's value.

SetRegion

func (s *ESInstanceDetails) SetRegion(v string) *ESInstanceDetails

SetRegion sets the Region field's value.

SetSizeFlexEligible

func (s *ESInstanceDetails) SetSizeFlexEligible(v bool) *ESInstanceDetails

SetSizeFlexEligible sets the SizeFlexEligible field's value.

String

func (s ESInstanceDetails) String() string

String returns the string representation

On this page: