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.

Order

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

type Order struct { Column *string `min:"1" type:"string" required:"true"` SortOrder *int64 `type:"integer" required:"true"` }

Specifies the sort order of a sorted column.

Column

Type: *string

The name of the column.

Column is a required field

SortOrder

Type: *int64

Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

SortOrder is a required field

Method

GoString

func (s Order) GoString() string

GoString returns the string representation

SetColumn

func (s *Order) SetColumn(v string) *Order

SetColumn sets the Column field's value.

SetSortOrder

func (s *Order) SetSortOrder(v int64) *Order

SetSortOrder sets the SortOrder field's value.

String

func (s Order) String() string

String returns the string representation

Validate

func (s *Order) Validate() error

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

On this page: