Class: Aws::AmplifyUIBuilder::Types::Predicate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Stores information for generating Amplify DataStore queries. Use a Predicate to retrieve a subset of the data in a collection.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andArray<Types::Predicate>

A list of predicates to combine logically.

Returns:



2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#fieldString

The field to query.

Returns:

  • (String)


2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operandString

The value to use when performing the evaluation.

Returns:

  • (String)


2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operand_typeString

The type of value to use when performing the evaluation.

Returns:

  • (String)


2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator to use to perform the evaluation.

Returns:

  • (String)


2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#orArray<Types::Predicate>

A list of predicates to combine logically.

Returns:



2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2660

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end