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.

Range

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

type Range struct { From *int64 `type:"integer"` Step *int64 `type:"integer"` To *int64 `type:"integer"` }

A range of integer values.

From

Type: *int64

The minimum value in the range.

Step

Type: *int64

The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

To

Type: *int64

The maximum value in the range.

Method

GoString

func (s Range) GoString() string

GoString returns the string representation

SetFrom

func (s *Range) SetFrom(v int64) *Range

SetFrom sets the From field's value.

SetStep

func (s *Range) SetStep(v int64) *Range

SetStep sets the Step field's value.

SetTo

func (s *Range) SetTo(v int64) *Range

SetTo sets the To field's value.

String

func (s Range) String() string

String returns the string representation

On this page: