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.

Predicate

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

type Predicate struct { Conditions []*Condition `type:"list"` Logical *string `type:"string" enum:"Logical"` }

Defines the predicate of the trigger, which determines when it fires.

Conditions

Defines a condition under which a trigger fires.

Logical

Type: *string

Optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

Method

GoString

func (s Predicate) GoString() string

GoString returns the string representation

SetConditions

func (s *Predicate) SetConditions(v []*Condition) *Predicate

SetConditions sets the Conditions field's value.

SetLogical

func (s *Predicate) SetLogical(v string) *Predicate

SetLogical sets the Logical field's value.

String

func (s Predicate) String() string

String returns the string representation

Validate

func (s *Predicate) Validate() error

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

On this page: