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.

Operator

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

type Operator struct { Type *string `locationName:"type" type:"string" enum:"OperatorType"` Values []*string `locationName:"values" type:"list"` }

Contains a logical operation for comparing the value of a field with a specified value.

Type

Type: *string

The logical operation to be performed: equal (EQ), equal reference (REF_EQ), less than or equal (LE), greater than or equal (GE), or between (BETWEEN). Equal reference (REF_EQ) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.

The comparison operators EQ and REF_EQ act on the following fields:

  • name

  • @sphere

  • parent

  • @componentParent

  • @instanceParent

  • @status

  • @scheduledStartTime

  • @scheduledEndTime

  • @actualStartTime

  • @actualEndTime

The comparison operators GE, LE, and BETWEEN act on the following fields:

  • @scheduledStartTime

  • @scheduledEndTime

  • @actualStartTime

  • @actualEndTime

Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".

Values

Type: []*string

The value that the actual field value will be compared with.

Method

GoString

func (s Operator) GoString() string

GoString returns the string representation

SetType

func (s *Operator) SetType(v string) *Operator

SetType sets the Type field's value.

SetValues

func (s *Operator) SetValues(v []*string) *Operator

SetValues sets the Values field's value.

String

func (s Operator) String() string

String returns the string representation

On this page: