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.

InstanceCount

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

type InstanceCount struct { InstanceCount *int64 `locationName:"instanceCount" type:"integer"` State *string `locationName:"state" type:"string" enum:"ListingState"` }

Describes a Reserved Instance listing state.

InstanceCount

Type: *int64

The number of listed Reserved Instances in the state specified by the state.

State

Type: *string

The states of the listed Reserved Instances.

Method

GoString

func (s InstanceCount) GoString() string

GoString returns the string representation

SetInstanceCount

func (s *InstanceCount) SetInstanceCount(v int64) *InstanceCount

SetInstanceCount sets the InstanceCount field's value.

SetState

func (s *InstanceCount) SetState(v string) *InstanceCount

SetState sets the State field's value.

String

func (s InstanceCount) String() string

String returns the string representation

On this page: